You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "FrankYang0529 (via GitHub)" <gi...@apache.org> on 2025/02/21 13:12:29 UTC

Re: [PR] KAFKA-18166: Indefinite timeout when publishing events to RLMM (RemoteLogMetadataManager) [kafka]

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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org