[DOCS-8547] Sharding downgrade procedure from CSRS to SCCC is missing the 'minOpTimeRecovery' document cleanup step Created: 10/Aug/16 Updated: 12/Aug/16 Resolved: 12/Aug/16 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 2 |
| Labels: | bite-sized | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Participants: | |||||
| Days since reply: | 7 years, 26 weeks, 5 days ago | ||||
| Story Points: | 0.25 | ||||
| Description |
|
The downgrade procedure from CSRS to SCCC is missing a step to clear the 'minOpTimeRecovery' document. The following two steps should be added: 1. Following step 1: On the primary of each shard, find the minOpTimeRecovery document and ensure that the minOpTimeUpdaters value is zero. The minOpTimeRecovery document is what ensures that shards running against a CSRS config server always see the latest chunks metadata after a migration. If the value of minOpTimeUpdaters is not zero, this means there is either an active migration, which should be waited to complete or that a previous migration failed midway and the shard should be recovered. Recovery happens by stepping down the primary, after which the new newly elected primary should clear the minOpTimeUpdaters field successfully. This step must be done on each shard's primary. 2. As part of step 6: Before stepping down a 3.2 shard with the intention to downgrade it, the minOpTimeRecovery document mentioned in step 1 must be cleared from it. If this step is not performed, the newly elected 3.2 primary will try to contact the already downgraded CSRS config server and fail to become a primary and the shard's replica set will become stuck. In order to do this, on the primary of each shard, remove the minOpTimeRecovery document with the following command:
... the rest of step 6 ... |
| Comments |
| Comment by Githook User [ 12/Aug/16 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |