Skip to content

Commit

Permalink
issues #199 DLedger pagecachert overtime (#200)
Browse files Browse the repository at this point in the history
Co-authored-by: 叶文海 <[email protected]>
  • Loading branch information
yewenhai-github and 叶文海 authored Aug 15, 2022
1 parent b42dda8 commit 44ebb34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private void checkResponseFuturesElapsed(final long endIndex) {
final long currTerm = this.memberState.currTerm();
final Map<Long, TimeoutFuture<AppendEntryResponse>> responses = this.pendingAppendResponsesByTerm.get(currTerm);
for (Map.Entry<Long, TimeoutFuture<AppendEntryResponse>> futureEntry : responses.entrySet()) {
if (futureEntry.getKey() < endIndex) {
if (futureEntry.getKey() <= endIndex) {
AppendEntryResponse response = new AppendEntryResponse();
response.setGroup(memberState.getGroup());
response.setTerm(currTerm);
Expand Down

0 comments on commit 44ebb34

Please sign in to comment.