Skip to content

Commit

Permalink
Reformat comment better (#2910)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9d126d4)
  • Loading branch information
epugh committed Dec 17, 2024
1 parent 51275fd commit 642216c
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1571,10 +1571,11 @@ private Long readIntervalNs(String interval) {

public static final String FETCH_FROM_LEADER = "fetchFromLeader";

// in case of TLOG replica, if leaderVersion = zero, don't do commit
// otherwise updates from current tlog won't be copied over properly to the new tlog, leading to
// data
// loss
// In case of TLOG replica, if leaderVersion = zero, don't do commit
// otherwise updates from current tlog won't be copied over properly to the new tlog,
// leading to data loss.
// Don't commit on leader version zero for PULL replicas as PULL should only get its index
// state from leader.
public static final String SKIP_COMMIT_ON_LEADER_VERSION_ZERO = "skipCommitOnLeaderVersionZero";

/**
Expand Down

0 comments on commit 642216c

Please sign in to comment.