diff --git a/lib/constants.py b/lib/constants.py index 91c6e31fda621b4bdf83c3b3ba6f1558418c3a1e..d5e8976acae30eb1121f08fbff01a06f508cdb10 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -648,7 +648,9 @@ CONFD_REPL_STATUSES = frozenset([ (CONFD_NODE_ROLE_MASTER, CONFD_NODE_ROLE_CANDIDATE, CONFD_NODE_ROLE_OFFLINE, - CONFD_NODE_ROLE_DRAINED) = range(4) + CONFD_NODE_ROLE_DRAINED, + CONFD_NODE_ROLE_REGULAR, + ) = range(5) # Each request is "salted" by the current timestamp. # This constants decides how many seconds of skew to accept.