Hacker GitHub

← All repos

cockroachdb/cockroach

View on GitHub ↗ ★ 32,601 Go

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

170 mentions on Hacker News by 114 people: 12 stories, 158 comments · first 2014-05-26 · latest 2026-08-11

Mentions per year 170 mentions · busiest year 2017 (46)
20082026
  1. …One of the most popular distributed DB is Cockroach which is written in go and also uses Raft: https://github.com/cockroachdb/cockroach/tree/master/pkg/raf...
  2. …/github.com/kubernetes/kubernetes/pull/110879/files - https://github.com/moby/moby/pull/10321/files - https://github.com/cockroachdb/cockroach/pull/74743/files Do we have linters that catch these?
    comment by Mawr · 2025-12-05 · in Thoughts on Go vs. Rust vs. Zig
  3. …and to have had a reason to! 0: https://static.googleusercontent.com/media/research.google.c... 1: https://github.com/cockroachdb/cockroach/blob/f48b3438a296aa... 2: https://github.com/cockroachdb/cockroach/blob/f48b3438a296aa... 3:…
    comment by vvern · 2025-06-14 · in Implementing Logic Programming
  4. ▲ 27
    CockroachDB has changed their license, again
    story by tison · 2025-03-19 · 5 comments
  5. Still very much "open-source": https://github.com/cockroachdb/cockroach But relicensed to the "CockroachDB Software License" as a form of BSL to prevent reselling.
    comment by mble_ · 2024-12-05 · in 7 Databases in 7 Weeks for 2025
  6. …Apache = open source Parts of CockroachDB under CCL that do NOT transition to Apache OSS: https://github.com/cockroachdb/cockroach/tree/master/pkg/ccl > the sub-tree under pkg/ccl is under a different license (CCL) that does not transition…
    comment by geenat · 2024-08-16 · in CockroachDB license change
  7. …Apache = open source Parts of CockroachDB under CCL that do NOT transition to Apache OSS: https://github.com/cockroachdb/cockroach/tree/master/pkg/ccl > the sub-tree under pkg/ccl is under a different license (CCL) that does not transition…
    comment by geenat · 2024-08-16 · in CockroachDB license change
  8. …catch before)? "Source code in a given file is licensed under the BSL and ..." That is sucky. [0] https://github.com/cockroachdb/cockroach?tab=License-1-ov-fi...
    comment by karmakaze · 2024-08-15 · in CockroachDB license change
  9. https://github.com/cockroachdb/cockroach/graphs/contributors
    comment by tbarbugli · 2024-08-15 · in CockroachDB license change
  10. > CockroachDB - the open source, cloud-native distributed SQL database. https://github.com/cockroachdb/cockroach
    comment by warvariuc · 2024-08-15 · in CockroachDB license change
  11. …how subtle gradients look striped and dirty on many websites if displayed with only 24-bit color: https://github.com/cockroachdb/cockroach/issues/91316
    comment by zX41ZdbW · 2024-06-25 · in Round Rects Are Everywhere
  12. …to how TiKV ( https://tikv.org/ ), Kudu ( https://kudu.apache.org/kudu.pdf ) or CockroachDB ( https://github.com/cockroachdb/cockroach ) are designed. Instead of relying on a specific consensus implementation, we have decided to…
  13. cockroachdb might be close: https://github.com/cockroachdb/cockroach
  14. …prevent lost update anomalies between two UPDATEs Some of the gory details are in the public RFC: https://github.com/cockroachdb/cockroach/blob/master/docs/RF... This blog post just discusses the last point, but please AMA.
    comment by michae2 · 2024-04-06 · in Why CockroachDB doesn't use EvalPlanQual
  15. …The preview release for both will be dropping in Jan. Some links if you're interested: - RFC: https://github.com/cockroachdb/cockroach/blob/master/docs/RF... - Hermitage test: https://github.com/ept/hermitage/blob/master/cockroachdb.md
    comment by nvanbenschoten · 2023-12-20 · in Jepsen: MySQL 8.0.34
  16. …all Windows apps are Linux apps? > Yes you can for the most part You can't statically link glibc: https://github.com/cockroachdb/cockroach/issues/3392 glibc can break stuff: https://www.gamingonlinux.com/2022/08/valve-dev-understandab... I…
  17. …Here's one from docker too: https://github.com/moby/moby/pull/10321 What about from CockroachDB? https://github.com/cockroachdb/cockroach/pull/74743 Even the linter missed this one!
  18. Here you go: https://github.com/cockroachdb/cockroach/issues/52009 Not only deprecated, but completely removed a few years ago as seen in: https://github.com/cockroachdb/cockroach/issues/69150
    comment by doodlesdev · 2023-04-22 · in Scaling Databases at Activision [pdf]
  19. …parts are 1. free and 2. on GitHub. https://www.cockroachlabs.com/docs/stable/licensing-faqs.htm... https://github.com/cockroachdb/cockroach
  20. To defend etcd's implementation though, it is what cockroachdb uses. https://github.com/cockroachdb/cockroach/blob/master/go.mod#...
  21. regarding FTS: https://github.com/cockroachdb/cockroach/pull/85185 just sayin'.
  22. …use cases. Here's the relevant section of the original design proposal, if you're interested: https://github.com/cockroachdb/cockroach/blob/master/docs/RF... .
    comment by nvanbenschoten · 2022-07-19 · in Back from the Future: Global Tables in CockroachDB
  23. …the same go where the average code looks like this, a big long chain of if blabla return nil, err ? https://github.com/cockroachdb/cockroach/blob/5fb4478b94ecaf... like, code like this is exactly the reason why exceptions were invented
    comment by jcelerier · 2022-07-10 · in Beginner's guide to error handling in Rust
  24. Explained why they don't produce official, supported builds. https://github.com/cockroachdb/cockroach/issues/62903#issuec...
    comment by _joel · 2022-06-16 · in 2022 Cloud Report
  25. …it doesn't support triggers and stored procedures, so we can't use it right now (closely following https://github.com/cockroachdb/cockroach/issues/28296 ) * Fly.io price scaling is too aggressive 6$ -> 33 -> 154 -> 1000s a month and no…
    comment by ranguna · 2022-05-28 · in Neon – Serverless Postgres
  26. Minor correction, both of them are source available, but not open source Cockroach DB license - https://github.com/cockroachdb/cockroach/blob/2c4e2c6/LICENS... Mongo license - https://github.com/mongodb/mongo/blob/39e4b70/LICENSE-Commun...
    comment by avinassh · 2022-05-28 · in Neon – Serverless Postgres
  27. …whose schemas are controlled by such third parties. (disclaimer: I work at Cockroach Labs) [1] - https://github.com/cockroachdb/cockroach/blob/master/license...
    comment by rafiss · 2022-04-04 · in A database for 2022
  28. …with BSL. I randomly checked a code file [1] and it seems the code is licensed under BSL. [0] - https://github.com/cockroachdb/cockroach/blob/2c4e2c6/LICENS... [1] - https://github.com/cockroachdb/cockroach/blob/2c4e2c6/pkg/kv...
    comment by avinassh · 2022-04-02 · in A database for 2022
  29. ▲ 3
    As of Future System Time
    story by michae2 · 2022-04-01 · 0 comments
  30. …code base that could benefit from generics, but we haven't spend time looking into it yet. [0]: https://github.com/cockroachdb/cockroach/blob/master/pkg/sql... [1]: https://www.cockroachlabs.com/blog/how-we-built-a-vectorized...
    comment by jordanlewis · 2022-03-31 · in Generics can make your Go code slower
  31. listen/notify edit: https://github.com/cockroachdb/cockroach/issues/41522
  32. …is more or less complete. There’s a runtime cost to using it, but that can be mitigated. See https://github.com/cockroachdb/cockroach/tree/master/pkg/sql... for a reflection-driven, embedded logic query language in go that achieves…
  33. …Core - Open-source with foundational features. Uff... Let's go give a look at the licenses: https://github.com/cockroachdb/cockroach/blob/master/LICENSE So many licenses, including the Business Source License which is non-free license.…
    comment by znpy · 2021-12-08 · in Leaving MySQL
  34. …CockroachDB[1] has been using it since very early in the project. [0] https://reviewable.io/ [1] https://github.com/cockroachdb/cockroach
  35. …not present in base PostgreSQL. [0]: https://github.com/hasura/graphql-engine/issues/678 [1]: https://github.com/cockroachdb/cockroach/issues/28296 [2]: https://www.cockroachlabs.com/docs/v21.1/stream-data-out-of-...
    comment by infogulch · 2021-10-27 · in How we built a serverless SQL database
  36. …the go statement. We also don’t like errgroup because its context propagation is implicit. See https://github.com/cockroachdb/cockroach/pull/62243 .
    comment by vvern · 2021-03-19 · in Go Statement Considered Harmful (2018)
  37. Hi, regarding number 3, I have filed https://github.com/cockroachdb/cockroach/issues/58032 . Would love to get your feedback on the proposal; does it address your need? do you have a different idea for how it would work?
  38. …3 - Can't tell if an upsert was an insert or an update 4 - No triggers (this is pretty huge) (1) https://github.com/cockroachdb/cockroach/issues/57348
  39. …if you were so inclined :) I added array inverted index support a little while ago in this PR: https://github.com/cockroachdb/cockroach/pull/45157 A simple full-text search engine would not be too different at the lower levels.
    comment by jordanlewis · 2020-08-05 · in Let's build a full-text search engine
  40. …below issue. I'm interested in hacking on it as it seems like a big reward for not that much work. https://github.com/cockroachdb/cockroach/issues/41285
  41. …of Postgres Triggers. Seems like the issue hasn't moved very far in a while [1] - any plans? [1] https://github.com/cockroachdb/cockroach/issues/28296
  42. …mainly because it mains maintaining consistency stats between replicas hard. See an attempt here: https://github.com/cockroachdb/cockroach/pull/42514 .
  43. …1a) (as you noted) should be in the next release 1b) working on it, should be in the next release: https://github.com/cockroachdb/cockroach/pull/50320 1c) I filed https://github.com/cockroachdb/cockroach/issues/50418 to track. It seems…
  44. …to be pathologically slower in some cases can chime in. We'd also love to hear about those cases in https://github.com/cockroachdb/cockroach/issues . [1] https://github.com/cockroachdb/cockroach/issues/17229 [2]…
  45. …at the code. 3. I am aware of multi-column-families not working (but that should get tackled?): https://github.com/cockroachdb/cockroach/issues/28667 I know PG is easier in that respect, but the performance ceiling is much lower.
    comment by namibj · 2020-06-18 · in Nested Transactions in CockroachDB 20.1
  46. …need anyways, because, as-is, a permanent loss of 2 nodes is impossible to recover from (2) (1) https://github.com/cockroachdb/cockroach/issues/28948 (2) https://github.com/cockroachdb/cockroach/issues/17186
    comment by latch · 2020-05-12 · in CockroachDB 20.1
  47. …are very slow to take and very slow to restore. There are even cases where it can fail to backup ( https://github.com/cockroachdb/cockroach/issues/28948 ). There are a lot of little bugs, which isn't a huge deal, but it's hard to find and…
  48. …with goyacc to provide good error messages for SQL passing. It’s a very interesting read really. https://github.com/cockroachdb/cockroach/tree/master/pkg/sql...
    comment by cube2222 · 2020-03-05 · in Why not to use (f)lex, yacc or bison
  49. …[1]: https://www.cockroachlabs.com/blog/sql-in-cockroachdb-mappin... [2]: https://github.com/cockroachdb/cockroach/blob/master/docs/te...
  50. …we have a tracking issue that shows the items in our backlog that would improve compatibility: https://github.com/cockroachdb/cockroach/issues/33441
    comment by rafiss · 2020-02-08 · in Migrating to CockroachDB