mikebridge commented on PR #40221: URL: https://github.com/apache/superset/pull/40221#issuecomment-4897400012
@betodealmeida — I've opened #41824 **into this branch** addressing @rusackas's `store_result` race finding (twice-flagged above): the index read-modify-write (and the eviction prune, which has the same shape) now go through a short cache-level lock via `cache.add`, with the invariant that the index is only written while holding it. Notes on why the suggested WATCH/Lua route doesn't fit (pickled payloads + the Flask-Caching abstraction) are in that PR, along with a **deterministic two-thread regression test** that reproduces the clobber on the current code every run and passes with the fix. Feel free to merge it into `sl-cache`, cherry-pick, or tell me what you'd like different. -- 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]
