anishshri-db opened a new pull request, #48927:
URL: https://github.com/apache/spark/pull/48927

   ### What changes were proposed in this pull request?
   Update condition for timer expiry and relevant test
   
   
   ### Why are the changes needed?
   To ensure that the expiry and removal conditions are consistent. Also, we 
don't have to wait for an extra microbatch to expire timers in certain cases.
   
   
   ### Does this PR introduce _any_ user-facing change?
   Yes
   
   
   ### How was this patch tested?
   Added unit tests
   
   ```
   [info] Run completed in 4 seconds, 638 milliseconds.
   [info] Total number of tests run: 12
   [info] Suites: completed 1, aborted 0
   [info] Tests: succeeded 12, failed 0, canceled 0, ignored 0, pending 0
   [info] All tests passed.
   ```
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to