We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54ea1d5 commit d664306Copy full SHA for d664306
topic/src/main/java/tech/ydb/topic/write/impl/WriterImpl.java
@@ -276,9 +276,7 @@ protected CompletableFuture<Void> flushImpl() {
276
incomingQueueLock.lock();
277
278
try {
279
- return this.lastAcceptedMessageFuture.isDone()
280
- ? CompletableFuture.completedFuture(null)
281
- : this.lastAcceptedMessageFuture.thenApply(v -> null);
+ return this.lastAcceptedMessageFuture.thenApply(v -> null);
282
} finally {
283
incomingQueueLock.unlock();
284
}
0 commit comments