majialoong commented on PR #20773: URL: https://github.com/apache/kafka/pull/20773#issuecomment-3446709281
When backporting the fix for this issue from trunk to 4.0, some code differences necessitated some changes. Compared to the changes in the trunk branch, the changes in this pull request are as follows: 1. In the 4.0 branch, the fix for this issue triggered a JavaNCSS error, so the `CoordinatorRuntimeTest` class was suppressed in `checkstyle/suppressions.xml`. 2. In the 4.0 branch, the `MockTimer#size` method does not remove canceled tasks. Therefore, when determining whether a linger task is canceled, the number of tasks is not used. Instead, the linger task is directly retrieved and the cancellation is determined. <img width="1504" height="722" alt="image" src="https://github.com/user-attachments/assets/57dd9cbf-b304-4571-babf-67bbeb82d8f6" /> -- 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]
