-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed ticket auto-expiring logic from statestore #1146
Conversation
To confirm my understanding, #815 speaks of us not expiring indices with Ticket expiration. With the query cache, we have completely done away with indices creation (except all tickets) - so if the index expiration is added to the all tickets index, wont #815 be addressed? My suspicion is, come customer do not manage Ticket deletion at all and just let the tickets expire and assume auto cleanup. Although that was not working as intended anyways, this change mandates customers to cleanup Tickets explicitly - correct? If so, this is a behavior change that we should add documentation for and explicitly shout out to the community. I think it is worth pushing this change anyways - and then creating a separate issue to document the Ticket cleanup mechanism for Open Match users - and lets get feedback on that (and re-implement changes the correct way if that turns out to be the conclusion) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment on the general fix - once we create an issue to track the usage change / documentation needed, I can approve this.
Yes, the query cache resolved most of the index expiration problem except for the allTickets part. The problem is, Redis doesn’t have a good way for expiring the non top-level data. E.g, there is no way in Redis to partially expire a set. We’ll need to change the current choice of data structure into something else if we want to keep this behavior untouched. I’ll open up an issue to make sure we document the behavior change and gather the feedbacks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please open the stated issue - mark it as tsc-discuss v1.0 - we can pull in as necessary.
Resolved #815.
Per discussion, removed the
EXPIRE
logic from our statestore implementation.