Skip to content

Commit

Permalink
Reformat comment better (#2910)
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh authored Dec 17, 2024
1 parent 44ea44d commit 9d126d4
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1517,12 +1517,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
// don't commit on leader version zero for PULL replicas as PULL should only get its index
// state from leader
// 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";

public static final String MESSAGE = "message";
Expand Down

0 comments on commit 9d126d4

Please sign in to comment.