canonical / canonical/microcluster

Microcluster itself can be out of sync with the underlying Dqlite’s membership configuration.

Open
#440 2 comments 0 reactions 0 assignees View on GitHub
bug Jira
Dominant language
Go
Stars
33
Forks
39
Avg merge
4h 49m
Merged PRs (30d)
6

Description

I tested clustering with Canonical k8s and embedded etcd.

Hereby, I noticed that Microcluster itself can be out of sync with the underlying Dqlite’s membership configuration. In this scenario we have a three node cluster where we take down one node by killing its VM process. Then we join a node and try to remove the previously killed node. We observe diverging cluster state: Microcluster table shows 3 nodes as voters, Microcluster’s Dqlite has 4 nodes with the killed one marked as a spare and etcd shows 2 nodes.

Image

See also: https://github.com/canonical/go-dqlite/issues/388, https://github.com/canonical/dqlite/issues/799

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.