frankvicky commented on code in PR #17026:
URL: https://github.com/apache/kafka/pull/17026#discussion_r1769459432


##########
core/src/main/scala/kafka/server/DelegationTokenManagerZk.scala:
##########
@@ -292,6 +298,8 @@ class DelegationTokenManagerZk(config: KafkaConfig,
               expireResponseCallback(Errors.NONE, now)
             } else if (tokenInfo.maxTimestamp < now || 
tokenInfo.expiryTimestamp < now) {
               expireResponseCallback(Errors.DELEGATION_TOKEN_EXPIRED, -1)
+            } else if (now > Long.MaxValue - expireLifeTimeMs) {

Review Comment:
   Yes, I missed it.
   Thanks for pointing out 😸 



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