apoorvmittal10 commented on code in PR #16955:
URL: https://github.com/apache/kafka/pull/16955#discussion_r1728838822


##########
core/src/main/java/kafka/server/share/SharePartitionManager.java:
##########
@@ -442,14 +453,6 @@ public void acknowledgeSessionUpdate(String groupId, 
ShareRequestMetadata reqMet
         if (reqMetadata.epoch() == ShareRequestMetadata.INITIAL_EPOCH) {
             // ShareAcknowledge Request cannot have epoch as INITIAL_EPOCH (0)
             throw Errors.INVALID_SHARE_SESSION_EPOCH.exception();
-        } else if (reqMetadata.epoch() == ShareRequestMetadata.FINAL_EPOCH) {

Review Comment:
   Yeah, it should be corrected. Done.



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

Reply via email to