FrankYang0529 commented on code in PR #18097:
URL: https://github.com/apache/kafka/pull/18097#discussion_r1965454292


##########
core/src/main/java/kafka/log/remote/RemoteLogManager.java:
##########
@@ -555,7 +556,7 @@ private void deleteRemoteLogPartition(TopicIdPartition 
partition) throws RemoteS
                         new 
RemoteLogSegmentMetadataUpdate(metadata.remoteLogSegmentId(), 
time.milliseconds(),
                                 metadata.customMetadata(), 
RemoteLogSegmentState.DELETE_SEGMENT_STARTED, brokerId))
                 .collect(Collectors.toList());
-        publishEvents(deleteSegmentStartedEvents).get();
+        publishEvents(deleteSegmentStartedEvents).get(1000, 
TimeUnit.MILLISECONDS);

Review Comment:
   Hi @Serwios, sorry for the late reply. I add a variable 
`DEFAULT_RLMM_TIMEOUT_MS` for it. Thanks.



-- 
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]

Reply via email to