Skip to content

Commit 44ebb34

Browse files
yewenhai-github叶文海
andauthored
issues #199 DLedger pagecachert overtime (#200)
Co-authored-by: 叶文海 <yewenhai@ienglish.cn>
1 parent b42dda8 commit 44ebb34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/openmessaging/storage/dledger/DLedgerEntryPusher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ private void checkResponseFuturesElapsed(final long endIndex) {
244244
final long currTerm = this.memberState.currTerm();
245245
final Map<Long, TimeoutFuture<AppendEntryResponse>> responses = this.pendingAppendResponsesByTerm.get(currTerm);
246246
for (Map.Entry<Long, TimeoutFuture<AppendEntryResponse>> futureEntry : responses.entrySet()) {
247-
if (futureEntry.getKey() < endIndex) {
247+
if (futureEntry.getKey() <= endIndex) {
248248
AppendEntryResponse response = new AppendEntryResponse();
249249
response.setGroup(memberState.getGroup());
250250
response.setTerm(currTerm);

0 commit comments

Comments
 (0)