Skip to content

Commit

Permalink
fix(kafka_issues491): ignore await after scheduled task cancel (#770)
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Han <[email protected]>
  • Loading branch information
superhx authored and ShadowySpirits committed Mar 14, 2024
1 parent ae5cfb1 commit 7e87abe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion s3stream/src/main/java/com/automq/stream/s3/S3Storage.java
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ static LogCache.LogCacheBlock recoverContinuousRecords(Iterator<WriteAheadLog.Re
@Override
public void shutdown() {
drainBackoffTask.cancel(false);
FutureUtil.suppress(drainBackoffTask::get, LOGGER);
for (WalWriteRequest request : backoffRecords) {
request.cf.completeExceptionally(new IOException("S3Storage is shutdown"));
}
Expand Down

0 comments on commit 7e87abe

Please sign in to comment.