[SERVER-37354] Make _shardsvrShardCollection re-entrant Created: 27/Sep/18  Updated: 29/Oct/23  Resolved: 01/Nov/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.0.5, 4.1.5

Type: Task Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-37329 Allow ShardRemote to be interrupted w... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Sharding 2018-11-05
Participants:
Linked BF Score: 48

 Description   

Currently if two _shardsvrShardCollection come in for the same collection, the second will invariant

Invariant failure !_critSecSignal src/mongo/db/s/sharding_migration_critical_section.cpp 42



 Comments   
Comment by Githook User [ 28/Nov/18 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-37354 Make _shardsvrShardCollection re-entrant

(cherry picked from commit 7caca4484d33a2b9c2883bdb49661fe98043e66b)
Branch: v4.0
https://github.com/mongodb/mongo/commit/c2e1e1dd0246bf60197093b09b5b6d78d03d2861

Comment by Githook User [ 28/Nov/18 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-37354 Make _shardsvrShardCollection re-entrant

(cherry picked from commit c06cea15dcc13c7e8777be5da229b1423ae7465b)
Branch: v4.0
https://github.com/mongodb/mongo/commit/120252fcbfc558172d83f129e6350c24d4908451

Comment by Githook User [ 01/Nov/18 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-37354 Make _shardsvrShardCollection re-entrant
Branch: master
https://github.com/mongodb/mongo/commit/7caca4484d33a2b9c2883bdb49661fe98043e66b

Comment by Githook User [ 01/Nov/18 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-37354 Make _shardsvrShardCollection re-entrant
Branch: master
https://github.com/mongodb/mongo/commit/c06cea15dcc13c7e8777be5da229b1423ae7465b

Comment by Spencer Brody (Inactive) [ 28/Sep/18 ]

Note that the 'runWithoutInterruption' block added here as part of SERVER-37329 can be removed when this is done.

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