• Petr Pudlak's avatar
    Ensure full configuration distribution if MCs change · 191dff7f
    Petr Pudlak authored
    If a node is removed from the list of master candidates, we want to make
    sure that after the operation the configuration will not be distributed
    to the node any more. Without requiring full distribution, it's possible
    that the node still receives configuration update from a previous call.
    Also include the master node(s).
    (While this shouldn't change without master failover, if it does, it's
    definitely a good idea to flush the configuration.)
    Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
    Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
ConfigState.hs 2.16 KB