Max Asnaashari
Max Asnaashari
Setting a non-default (hostname) peer name when beginning a new cluster fails. I think this is because we still use the hostname in some places.
Because the API extension system is contingent on the presence of a particular schema update, we fall into a temporary deadlock when applying the first API extension. This PR addresses...
We can't be sure which tables specified by external users of microcluster reference internal tables. So just broadly turn off foreign keys while applying internal schema updates, and turn it...
As soon as the existing cluster validates a join token for a newly joining node, it will add a `PENDING` record into the database for that node. This status will...
In particular, `/cluster/1.0/cluster` is a bit stammering, so we can rename it to `/cluster/1.0/members` instead. `/cluster` is the start point for built-in microcluster API endpoints `/cluster/1.0` is the start point...
It seems as soon as each cluster member begins regularly querying to view the leader info, the CPU usage of `go-dqlite` balloons. This was noticed in [microcluster](https://github.com/canonical/microcluster) where we have...
Updates MicroCeph to use the stable release of microcluster at `v2.0.0`. For the most part, the changes to the code in MicroCeph are just package imports and changing the definition...
microcluster expects some prepared statements to be defined and run on initial start with [RegisterStmt](https://github.com/canonical/microcluster/blob/aaec49fa6823ddf8802336b3affbbe8878cc6a52/cluster/stmt.go#L24-L44). Projects that import microcluster are also expected to have these calls. In order to determine...
At least with MicroCeph, OSD pools will default to a replication size of 3. That means if there are fewer than that many OSDs available for replication, LXD will fail...
This command takes a list of pool names as arguments, and a `--size` flag which accepts an integer for the pool size. However, behind the scenes, this command also updates...