Bug in ctdb_recovery_helper ?
amitay at gmail.com
Sun Nov 12 00:50:41 UTC 2017
On Sun, Nov 12, 2017 at 2:08 AM, Ralph Böhme <slow at samba.org> wrote:
> Hi Amitay,
> while going through ctdb_recovery_helper I noticed that in
> recovery_active_done() we count the number of nodes but neither use it in
> afterwards in this function nor anywhere else as we don't update the state
> the new count. Is this by design or a bug?
In recovery_active_done(), "count" local variable is for number of nodes
in the vnnmap (active lmasters). The variable state->count is for active
nodes in the nodemap.
This is by design.
More information about the samba-technical