...

Text file src/go.etcd.io/etcd/raft/v3/confchange/testdata/joint_safety.txt

Documentation: go.etcd.io/etcd/raft/v3/confchange/testdata

     1leave-joint
     2----
     3can't leave a non-joint config
     4
     5enter-joint
     6----
     7can't make a zero-voter config joint
     8
     9enter-joint
    10v1
    11----
    12can't make a zero-voter config joint
    13
    14simple
    15v1
    16----
    17voters=(1)
    181: StateProbe match=0 next=3
    19
    20leave-joint
    21----
    22can't leave a non-joint config
    23
    24# Can enter into joint config.
    25enter-joint
    26----
    27voters=(1)&&(1)
    281: StateProbe match=0 next=3
    29
    30enter-joint
    31----
    32config is already joint
    33
    34leave-joint
    35----
    36voters=(1)
    371: StateProbe match=0 next=3
    38
    39leave-joint
    40----
    41can't leave a non-joint config
    42
    43# Can enter again, this time with some ops.
    44enter-joint
    45r1 v2 v3 l4
    46----
    47voters=(2 3)&&(1) learners=(4)
    481: StateProbe match=0 next=3
    492: StateProbe match=0 next=9
    503: StateProbe match=0 next=9
    514: StateProbe match=0 next=9 learner
    52
    53enter-joint
    54----
    55config is already joint
    56
    57enter-joint
    58v12
    59----
    60config is already joint
    61
    62simple
    63l15
    64----
    65can't apply simple config change in joint config
    66
    67leave-joint
    68----
    69voters=(2 3) learners=(4)
    702: StateProbe match=0 next=9
    713: StateProbe match=0 next=9
    724: StateProbe match=0 next=9 learner
    73
    74simple
    75l9
    76----
    77voters=(2 3) learners=(4 9)
    782: StateProbe match=0 next=9
    793: StateProbe match=0 next=9
    804: StateProbe match=0 next=9 learner
    819: StateProbe match=0 next=14 learner

View as plain text