As implemented, direct writes to the config.transactions collection will invalidate the entire session transactions cache. This is not optimal, because session cleanup also performs direct writes to the sessions catalog and this can happen fairly frequently.
Instead, when a document is available for the direct write, we should try to extract the session id from it and only invalidate that session.
- is depended on by
-
SERVER-28917 Implement transactions documents expiration
- Closed