poorbarcode commented on code in PR #21908:
URL: https://github.com/apache/pulsar/pull/21908#discussion_r1454554409
##########
pulsar-broker/src/main/java/org/apache/pulsar/compaction/TwoPhaseCompactor.java:
##########
@@ -91,6 +91,9 @@ protected CompletableFuture<Long> doCompaction(RawReader
reader, BookKeeper bk)
private CompletableFuture<PhaseOneResult> phaseOne(RawReader reader) {
Map<String, MessageId> latestForKey = new HashMap<>();
CompletableFuture<PhaseOneResult> loopPromise = new
CompletableFuture<>();
+ FutureUtil.addTimeoutHandling(loopPromise,
Review Comment:
maybe `30s` is not enough for the step one
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]