Resharding oplog application applies each delete operation in a transaction. Each one uses a brand new lsid and txnNumber=0.
While this is correct, using so many unique lsids can be problematic, as it makes the number of active sessions in the system grow without bounds. Instead, we could make each applier thread use it's own lsid, and use an incremented txnNumber to apply each one of the deletes.
- related to
-
SERVER-93586 [8.0] Tag concurrency tests that does moveChunk with resource_intensive
- Closed
-
SERVER-92435 Investigate if it is possible to make resharding generate fewer IncompleteTransactionHistory records
- Backlog
-
SERVER-92551 Make ReshardingCollectionCloner generate fewer new config.transactions entries
- Backlog