[SERVER-26307] MigrationManager can keep a migration document when not in stepdown / shutdown because it can't differentiate between its own error codes and those of the shard with which it communicates Created: 23/Sep/16  Updated: 06/Mar/20  Resolved: 18/Oct/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.4.0-rc1

Type: Bug Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-26304 killOp in migration_ignore_interrupts... Closed
Problem/Incident
causes SERVER-46669 moveChunk may succeed but not respect... Closed
Related
related to SERVER-25999 Mongos applies errors received from c... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2016-10-10, Sharding 2016-10-31
Participants:
Linked BF Score: 0

 Description   

The Balancer will keep config.migrations documents on shard stepdown / shutdown errors. And return BalancerInterrupted to the mongos, though it isn't stepping down. The mongos will retry the moveChunk command, so it doesn't appear to be a big problem, though it isn't what we intended to happen / really want.



 Comments   
Comment by Githook User [ 18/Oct/16 ]

Author:

{u'username': u'DiannaHohensee', u'name': u'Dianna Hohensee', u'email': u'dianna.hohensee@10gen.com'}

Message: SERVER-26307 Differentiate between config and shard command errors in MigrationManager moveChunk commands
Branch: master
https://github.com/mongodb/mongo/commit/cc8e8a138b7116ddd2b6eff56da2f4219262e837

Comment by Githook User [ 17/Oct/16 ]

Author:

{u'username': u'DiannaHohensee', u'name': u'Dianna Hohensee', u'email': u'dianna.hohensee@10gen.com'}

Message: Revert "SERVER-26307 Differentiate between config and shard command errors in MigrationManager moveChunk commands"

This reverts commit af2e05b0424b99ee162fe2ef0f1ecf6c687b06f9.
Branch: master
https://github.com/mongodb/mongo/commit/d89ff664c25bdc3537cfd08af03d14d2d96815bb

Comment by Githook User [ 17/Oct/16 ]

Author:

{u'username': u'DiannaHohensee', u'name': u'Dianna Hohensee', u'email': u'dianna.hohensee@10gen.com'}

Message: SERVER-26307 Differentiate between config and shard command errors in MigrationManager moveChunk commands
Branch: master
https://github.com/mongodb/mongo/commit/af2e05b0424b99ee162fe2ef0f1ecf6c687b06f9

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