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
20082026
-
…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...
comment by Thaxll · 2026-08-11 · in Go is an ideal language for AI-assisted software engineering -
…/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 -
…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 -
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 -
…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 -
…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 -
…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 -
https://github.com/cockroachdb/cockroach/graphs/contributors
comment by tbarbugli · 2024-08-15 · in CockroachDB license change -
> CockroachDB - the open source, cloud-native distributed SQL database. https://github.com/cockroachdb/cockroach
comment by warvariuc · 2024-08-15 · in CockroachDB license change -
…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 -
…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…
comment by stsffap · 2024-06-12 · in Show HN: Restate – Low-latency durable workflows for JavaScript/Java, in Rust -
cockroachdb might be close: https://github.com/cockroachdb/cockroach
comment by perplexa · 2024-04-09 · in A MySQL compatible database engine written in pure Go -
…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 -
…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 -
…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…
comment by voidr · 2023-08-04 · in Linux surpasses the Mac among Steam gamers -
…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!
comment by nulld3v · 2023-06-20 · in Gopher Wrangling: Effective error handling in Go -
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] -
…parts are 1. free and 2. on GitHub. https://www.cockroachlabs.com/docs/stable/licensing-faqs.htm... https://github.com/cockroachdb/cockroach
comment by PhilippGille · 2022-12-26 · in Ask HN: What is your distributed and fault-tolerant PostgreSQL setup? -
To defend etcd's implementation though, it is what cockroachdb uses. https://github.com/cockroachdb/cockroach/blob/master/go.mod#...
comment by eatonphil · 2022-10-04 · in Raft Is So Fetch: The Raft Consensus Algorithm Explained Through Mean Girls -
regarding FTS: https://github.com/cockroachdb/cockroach/pull/85185 just sayin'.
comment by sean0- · 2022-08-30 · in Ask HN: What has been your experience with CockroachDB? -
…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 -
…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 -
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 -
…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 -
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 -
…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 -
…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 -
…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 -
listen/notify edit: https://github.com/cockroachdb/cockroach/issues/41522
comment by ledgerdev · 2022-03-07 · in CockroachDB: The Resilient Geo-Distributed SQL Database -
…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…
comment by vvern · 2022-01-27 · in An embeddable Prolog scripting language for Go -
…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 -
…CockroachDB[1] has been using it since very early in the project. [0] https://reviewable.io/ [1] https://github.com/cockroachdb/cockroach
comment by tdrd · 2021-11-17 · in Stacked changes: how FB and Google engineers stay unblocked and ship faster -
…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 -
…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) -
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?
comment by radub · 2020-12-17 · in Why CockroachDB and PostgreSQL Are Compatible -
…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
comment by latch · 2020-12-17 · in Why CockroachDB and PostgreSQL Are Compatible -
…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 -
…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
comment by vvern · 2020-06-19 · in A Twitch channel from which viewers can play with CockroachDB -
…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
comment by dvasdekis · 2020-06-19 · in A Twitch channel from which viewers can play with CockroachDB -
…mainly because it mains maintaining consistency stats between replicas hard. See an attempt here: https://github.com/cockroachdb/cockroach/pull/42514 .
comment by vvern · 2020-06-19 · in Nested Transactions in CockroachDB 20.1 -
…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…
comment by vvern · 2020-06-19 · in A Twitch channel from which viewers can play with CockroachDB -
…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]…
comment by vvern · 2020-06-18 · in Nested Transactions in CockroachDB 20.1 -
…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 -
…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 -
…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…
comment by latch · 2020-05-06 · in Cockroach Labs Gets $87M in New Funding -
…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 -
…[1]: https://www.cockroachlabs.com/blog/sql-in-cockroachdb-mappin... [2]: https://github.com/cockroachdb/cockroach/blob/master/docs/te...
comment by irfansharif · 2020-02-11 · in Pgcat – Enhanced PostgreSQL logical replication -
…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 -
It was fixed in CRDB also: https://github.com/cockroachdb/cockroach/issues/42942
comment by latch · 2020-02-07 · in Migrating to CockroachDB -
…have work to be done incorporating the more DDL focused tests that tripped up YugaByte. [0]: https://github.com/cockroachdb/cockroach/pull/40600
comment by irfansharif · 2020-01-31 · in Jepsen: Etcd 3.4.3