[SERVER-20422] setShardVersion configdb string mismatch during config rs upgrade Created: 15/Sep/15 Updated: 25/Jan/17 Resolved: 07/Jan/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 3.1.8 |
| Fix Version/s: | 3.2.3, 3.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-and-test, csrsupgrade | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Completed: | |||||||||
| Sprint: | Sharding E (01/08/16) | ||||||||
| Participants: | |||||||||
| Description |
|
The shard will return an error on setShardVersion if it still has the old non-repl config server string. Example error:
|
| Comments |
| Comment by Githook User [ 14/Jan/16 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: (cherry picked from commit eb140e730ffdcf99f26d9f215dd4391b8978acc9) |
| Comment by Githook User [ 07/Jan/16 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: |
| Comment by Andy Schwerin [ 21/Sep/15 ] |
|
Attached a different csrs_upgrade.js that also exposes the error, this time using findAndModify. |
| Comment by Randolph Tan [ 16/Sep/15 ] |
|
Attached a modified csrs_upgrade.js that demonstrates the issue. |