adixitconfluent commented on code in PR #20080:
URL: https://github.com/apache/kafka/pull/20080#discussion_r2179968779


##########
core/src/main/java/kafka/server/share/SharePartition.java:
##########
@@ -2088,6 +2088,9 @@ void rollbackOrProcessStateUpdates(
                     state.completeStateTransition(true);
                     // Cancel the acquisition lock timeout task for the state 
since it is acknowledged/released successfully.
                     state.cancelAndClearAcquisitionLockTimeoutTask();
+                    if (state.state != RecordState.ARCHIVED) {
+                        findNextFetchOffset.set(true);
+                    }

Review Comment:
   Yes, that makes sense. I have created 
https://issues.apache.org/jira/browse/KAFKA-19464 to handle it for the future.



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