kamalcph commented on code in PR #16602: URL: https://github.com/apache/kafka/pull/16602#discussion_r1797761025
########## core/src/main/java/kafka/log/remote/RemoteLogManager.java: ########## @@ -263,6 +270,10 @@ public RemoteLogManager(RemoteLogManagerConfig rlmConfig, ); } + public void setDelayedOperationPurgatory(DelayedOperationPurgatory<DelayedRemoteListOffsets> delayedRemoteListOffsetsPurgatory) { + this.delayedRemoteListOffsetsPurgatory = delayedRemoteListOffsetsPurgatory; Review Comment: Other purgatories are also accessed by multiple threads but they don't have the `volatile`. So, followed the same approach. Let me know whether it is required. -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org