Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
RFC: initial cluster database plumbing #4016
This branch adds the initial plumbing for adding and managing a dqlite database to LXD.
It does NOT introduce a dependency on dqlite yet, but prepares the ground for doing so.
It does however introduce new dependencies on the go-grpc-sql package and all its indirect dependencies, most noticeably the grpc Go package which requires Go 1.8 or higher.
The idea is to first figure out how to have CI happy with this change (for instance we'll have to exclude Go <1.8 from the build) and then gradually move on to include more complicated dependencies like dqlite, which require a custom sqlite build.
Yes, since we don't have green CI builds/tests for the clustering branch, this PR helps me ensuring that the part of the changeset that does not require dqlite works fine. I guess we can close this as soon as we make CI progress with the clustering branch.