• Li Wei's avatar
    DAOS-333 server: Don't remove later entries for matching AEs · 77fb6117
    Li Wei authored
    
    
    If an AE request's previous entry matches the follower's, then the
    follower doesn't need to truncate its log at prev_log_idx. When the
    follower checks if the other entries in the AE request are consistent
    with its local ones, it already takes care of truncating at any
    inconsistency. If any later entries not covered by this AE request are
    inconsistent, future AE requests shall truncate them.
    Signed-off-by: default avatarLi Wei <wei.g.li@intel.com>
    77fb6117
raft_server.c 28.8 KB