zhangyue19921010 opened a new pull request, #11284:
URL: https://github.com/apache/paimon/pull/11284

   ### Purpose
   
   Consumer expiration subtracts its configured duration from local time. 
Across a daylight-saving change this can delete a still-active consumer early 
or retain an expired one, affecting snapshot retention. Calculate the commit 
path's cutoff from an instant and compare it with the persisted file 
modification timestamp. Preserve the existing local-time expiration entrypoint.
   
   Fixes #11283.
   
   ### Tests
   
   `ConsumerExpirationTimeTest` covers persisted consumers and snapshot 
protection through real table commits. The spring-forward active-consumer and 
fall-back expired-consumer cases fail on unchanged master; six remaining 
controls, including ordinary-day, UTC and exact-boundary cases, pass.
   
   Normal Maven `verify` on JDK 11 passed 37 selected cases across 
`ConsumerExpirationTimeTest`, `ConsumerManagerTest`, and `TableCommitTest`. 
Formatting, checkstyle, enforcer and repository license checks passed.
   


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