Skip to content
  • Jay Guo's avatar
    [FAB-13178] do not accept new env when conf in flight · 06ce7476
    Jay Guo authored
    
    
    When new leader performs failover check and finds out leftover
    ConfChange, it should re-propose that AND do not accept new env
    until ConfChange is applied.
    
    This CR also moves type b config failover check from `serveRaft`
    to `serveRequest` go routine. `serveRaft` now only takes care
    of raft related logics, therefore making the code easier to
    reason about.
    
    Change-Id: I4e32cb155abff52e7d1c0fbe4c6f2aa5e5ef1605
    Signed-off-by: default avatarJay Guo <guojiannan1101@gmail.com>
    06ce7476