majialoong commented on code in PR #21014:
URL: https://github.com/apache/kafka/pull/21014#discussion_r2572948022


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorService.java:
##########
@@ -345,7 +345,7 @@ public GroupCoordinatorService build() {
      * The metadata image to extract topic id to names map.
      * This is initialised when the {@link 
GroupCoordinator#onNewMetadataImage(CoordinatorMetadataImage, 
CoordinatorMetadataDelta)} is called
      */
-    private CoordinatorMetadataImage metadataImage = null;
+    private volatile CoordinatorMetadataImage metadataImage = null;

Review Comment:
   Open https://github.com/apache/kafka/pull/21021 for this.



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