jolshan commented on code in PR #15182:
URL: https://github.com/apache/kafka/pull/15182#discussion_r1450698994
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/runtime/CoordinatorRuntime.java:
##########
@@ -1683,7 +1685,7 @@ public void scheduleUnloadOperation(
if (context != null) {
try {
context.lock.lock();
- if (context.epoch < partitionEpoch) {
+ if (!partitionEpoch.isPresent() || context.epoch <
partitionEpoch.getAsInt()) {
Review Comment:
did we want to have special logging for the None/empty case? I see we log
partitionEpoch in a few places in this method.
--
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]