chia7712 commented on code in PR #21010:
URL: https://github.com/apache/kafka/pull/21010#discussion_r2569795303


##########
coordinator-common/src/main/java/org/apache/kafka/coordinator/common/runtime/CoordinatorRuntime.java:
##########
@@ -578,7 +578,7 @@ class CoordinatorContext {
         /**
          * The current state.
          */
-        CoordinatorState state;
+        volatile CoordinatorState state;

Review Comment:
   Is it necessary to backport this to active branches to prevent a potential 
race condition?



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