[SERVER-57453] run_validate_collections.js should pass "fromConfigServer: true" when finishing FCV transition from last-lts to last-continuous. Created: 04/Jun/21 Updated: 29/Oct/23 Resolved: 07/Jun/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 5.0.0, 4.9.0 |
| Fix Version/s: | 5.0.0-rc5, 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jason Chan | Assignee: | Jason Chan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v5.0, v4.9
|
||||||||
| Sprint: | Repl 2021-06-14 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 42 | ||||||||
| Description |
|
The jstestfuzzer can do a direct write to the fcv document and set the FCV state to "upgrading from last-lts to last-continuous". This is a valid state, but we expect it to only be accessible through the setFeatureCompatibilityVersion command by setting fromConfigServer: true, which is only used internally by sharding. run_validate_collections.js can fail to complete the in-progress FCV transition when running the ValidateCollections hook. We should check that if the current FCV is in the upgrading to last-continuous state, we also pass in fromConfigServer: true |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 28/Jun/21 ] |
|
Author: {'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}Message: (cherry picked from commit 30b4d64256b6aacc20633aee904634c9f59d96d8) |
| Comment by Githook User [ 07/Jun/21 ] |
|
Author: {'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}Message: |