We currently invalidate the user cache when we observe an operation that modifies a user's roles. This faces the problem that if we need to acquire the user before that observed operation actually gets committed, we fetch the old out-of-date data from disk. We will rectify this by moving invalidation to an onCommit handler, created inside of the OpObserver callback.
- is depended on by
-
SERVER-93027 Add more logging to user_cache_invalidation.js
- Closed
- is related to
-
SERVER-93616 Improve testing of user cache invalidation
- Closed