Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.2.5
-
Untriaged
-
0
-
Unknown
Description
Found an issue where the computation of the nodes to add/remove lists is incorrect.
A recovery rebalance(no topology change) is being incorrectly represented as a rebalance-in operation(adding a node) as seen in CBSE-16450.
To ensure the correct computation of the nodes to add/remove lists, some changes need to be adapted from trinity, specifically:
- https://review.couchbase.org/c/cbgt/+/188858 - tracks the previous member node UUIDs on all nodes in the cluster, which are required as a pre-requisite to compute the nodes to add/remove lists.
- https://review.couchbase.org/c/cbgt/+/207290 - computes the nodes to add/remove lists based on the change topology request sent by ns_server, instead of relying only on the node defs stored in cfg,