flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhueske <...@git.apache.org>
Subject [GitHub] flink issue #4421: [FLINK-7298] [table] Records can be cleared all at once w...
Date Tue, 01 Aug 2017 07:35:03 GMT
Github user fhueske commented on the issue:

    Hi @hequn8128, I think the change is good.
    I don't think we need to remove `!validTimestamp` though. The clean-up is a best effort
cleanup and will register another clean-up timer if there are records left in the state. So,
we might not remove all expired records in one run but also do not have to iterate over all
timestamps. This is an optimization for RocksDB state which provides the keys in sorted order,
so in this case all expired records are removed without going over all keys of the MapState.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message