This is Oxide's long-term maintenance branch/fork of CockroachDB 22.1.
Oxide uses CockroachDB for control plane data storage on the Oxide Cloud Computer, which uses illumos (specifically Helios) as the underlying operating system. We launched our product with CockroachDB 22.1. After Cockroach Labs' announcement that they will change to a strictly proprietary (source-available) model, we made the decision to continue self-supporting on this BSL-licensed version for the foreseeable future. For more context, see RFD 110 and RFD 508.
The primary goal of this branch is to keep the wheels of building and testing CockroachDB rolling smoothly to enable our ability to self-support. Our product runs illumos, but we also support development of our product on Linux and macOS, so it's important to us that our bug fixes that go into the illumos build also end up on developer machines too. Currently we have illumos and Linux builds going as well as Linux tests; we're working on CI parity for illumos and macOS.
You're welcome to use this branch under the same terms we are, but note that we're unable to provide any support outside the context of its use in our product.
- We've removed all CCL-licensed code. The "Cockroach Community License" primarily covers enterprise features of the database. The split between BSL-licensed and CCL-licensed code was fairly clean, but we're not planning to maintain it, so we shouldn't keep it around.
- The repository no longer needs to be cloned into
$GOPATH/github.com/cockroachdb/cockroach
; everything works without setting$GOPATH
. - We're in the process of removing code specific to Cockroach Labs development processes (such as their tools for automated GitHub issues and pull requests). We're also not using the newer Bazel-based build system, and are planning on removing the related files eventually.
- Our Linux builds are built with an Ubuntu 22.04 toolchain, so they won't run on systems with glibc < 2.35 or GCC < 11.