[SERVER-37335] Invariant failure _targeted.empty() in BatchWriteOp destructor Created: 26/Sep/18  Updated: 29/Oct/23  Resolved: 03/Oct/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.1.4

Type: Bug Priority: Major - P3
Reporter: Blake Oler Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-37430 Destroy sharding task executors and A... Closed
is depended on by SERVER-37330 Add sharded passthrough suites to det... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2018-10-08
Participants:

 Description   

In the logical session cache sharding suite (1sec refresh) during the CleanEveryN hook, a BatchWriteOp is destroyed before all of the queued writes are completed. This is during shut down, so it's likely that another thread prematurely destroyed it.

Investigation to follow.



 Comments   
Comment by Blake Oler [ 03/Oct/18 ]

Fixed by SERVER-37430

Generated at Thu Feb 08 04:45:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.