Skip to content

Address node promotion inconsistencies #2558

@anshulpundir

Description

@anshulpundir

As a part of node promotion, we set the desired state of the node to manager in the control api. Then, role_manager reconciles this node after receiving a node update. The reconciliation marks this node as manager in the store. However, its addition to the raft memberlist only happens when the node actually joins. So, for a brief period, the state in the store is inconsistent with the state in raft memberlist.

One way to address this is to make node promotion wait for the node to join raft memberlist.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions