[SERVER-31599] Only allow rollbackViaRefetchNoUUID method when in FCV 3.4 Created: 17/Oct/17 Updated: 30/Oct/23 Resolved: 07/Nov/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc4 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | William Schultz (Inactive) | Assignee: | Pavithra Vetriselvan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Repl 2017-11-13 | ||||||||
| Participants: | |||||||||
| Description |
|
Currently we allow selection of the rollback algorithm to use by means of the 'rollbackMethod' server parameter. We should only allow the 'rollbackViaRefetchNoUUID' to be used when a node is in FCV=3.4, and only allow the rollbackViaRefetch' algorithm when the node is in FCV=3.6. This may involve removing the 'rollbackMethod' server parameter, since the algorithm will be bound to FCV, instead of being user selectable. |
| Comments |
| Comment by Githook User [ 07/Nov/17 ] | ||
|
Author: {'name': 'Pavithra Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com'}Message: | ||
| Comment by William Schultz (Inactive) [ 02/Nov/17 ] | ||
|
When, in 3.6, trying to use rollbackMethod=rollbackViaRefetchNoUUID and running the following:
the rollback node will fail with the following message:
which is generated in DatabaseImpl::createCollection. This was tested on revision r3.6.0-rc2-8-g411df16. |