rovboyko commented on PR #21406:
URL: https://github.com/apache/flink/pull/21406#issuecomment-1365623119

   Hi @Myasuka !
   Thanks for your reply.
   The main benefit of this change is avoiding of unnecessary 
stateIterator.update() invocation inside TtlIncrementalCleanup.runCleanup() 
method.
   As for now it happens even no keys inside ttlState were expired. And after 
my change the stateIterator.update() invocation would happen only if any key 
was expired inside ttlState.


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