Info
When handling expired transaction table entries, the transaction reaper handles each individually and bundles their session ids into a batch to be removed all at once. If the number of session ids in the current batch is greater than the max write batch size, handling will be paused and the accumulated sessions will be removed from the transaction table (if their corresponding session collection records have already been deleted). The session entries should instead be removed when the number of ids is equal to the max batch size. This is the case for both the sharded and replica set handlers.
Top User Comments
xgen-internal-githook commented on Fri, 1 Jun 2018 20:42:45 +0000:
Author:
{'name': 'Sarah Zhou', 'email': 'sarahzhou@MacBook-Pro-80.local'}
Message: SERVER-35187 fix off by one error in transaction reaper
Branch: master
https://github.com/mongodb/mongo/commit/5d136ba87381fc09608c69cd6036c6c2298e1d8f