[SERVER-49086] Fail with MovePrimaryInProgress error in insert, update and delete commands Created: 25/Jun/20  Updated: 29/Oct/23  Resolved: 06/Jul/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.4.1, 4.7.0

Type: Task Priority: Major - P3
Reporter: Misha Tyulenev Assignee: Misha Tyulenev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-76271 Remove OpObserverShardingImpl Depende... Closed
related to SERVER-77258 move assertNoMovePrimaryInProgress() ... Closed
Backwards Compatibility: Minor Change
Backport Requested:
v4.4
Sprint: Sharding 2020-06-29
Participants:

 Description   

Fail with MovePrimaryIsInProgress error in insert, update, and delete commands if the database is in movePrimary.



 Comments   
Comment by Githook User [ 13/Aug/20 ]

Author:

{'name': 'Misha Tyulenev', 'email': 'misha.tyulenev@mongodb.com'}

Message: SERVER-49086 follow-up: exclude system unsharded collections from MovePrimaryInProgress failure

(cherry picked from commit a2d9dc67ad1a1efb700f51e90c52fbf2684abe8a)
Branch: v4.4
https://github.com/mongodb/mongo/commit/fb610771ebb9039b2e78360fce805d8d637366eb

Comment by Githook User [ 13/Aug/20 ]

Author:

{'name': 'Misha Tyulenev', 'email': 'misha.tyulenev@mongodb.com'}

Message: SERVER-49086 fail with MovePrimaryInProgress for insert update and delete commands

(cherry picked from commit 5ba365e5cab7e02db0821f0eb279599ecf5be7e3)
Branch: v4.4
https://github.com/mongodb/mongo/commit/4d1a001503745d6c09e7216fa48abf289db447bf

Comment by Githook User [ 10/Jul/20 ]

Author:

{'name': 'Misha Tyulenev', 'email': 'misha.tyulenev@mongodb.com'}

Message: SERVER-49086 follow-up: exclude system unsharded collections from MovePrimaryInProgress failure
Branch: master
https://github.com/mongodb/mongo/commit/a2d9dc67ad1a1efb700f51e90c52fbf2684abe8a

Comment by Misha Tyulenev [ 06/Jul/20 ]

The insert update and delete commands will fail on the source shard during movePrimary command for the unsharded collections.

Comment by Githook User [ 06/Jul/20 ]

Author:

{'name': 'Misha Tyulenev', 'email': 'misha.tyulenev@mongodb.com'}

Message: SERVER-49086 fail with MovePrimaryInProgress for insert update and delete commands
Branch: master
https://github.com/mongodb/mongo/commit/5ba365e5cab7e02db0821f0eb279599ecf5be7e3

Generated at Thu Feb 08 05:18:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.