[SERVER-32630] Minimize reads of the featureCompatibilityVersion parameter that occur prior to the featureCompatibilityVersion document being read/created Created: 10/Jan/18 Updated: 30/Oct/23 Resolved: 09/Mar/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Upgrade/Downgrade |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Maria van Keulen | Assignee: | Maria van Keulen |
| 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: | Storage NYC 2018-03-12 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Presently, there are places in the server code that read the featureCompatibilityVersion parameter before it is explicitly initialized with a meaningful value either from reading the featureCompatibilityVersion document or creating a new featureCompatibilityVersion document on clean startup. These reads should be minimized if not eliminated. A proposal to minimize these reads follows:
|
| Comments |
| Comment by Githook User [ 25/Jan/19 ] |
|
Author: {'username': 'adamlsd', 'email': 'adam.martin@10gen.com', 'name': 'ADAM David Alan Martin'}Message: Some tests in `dbtest` do not use the `mongo::unittest::Test` class |
| Comment by Githook User [ 16/Jan/19 ] |
|
Author: {'username': 'adamlsd', 'email': 'adam.martin@10gen.com', 'name': 'ADAM David Alan Martin'}Message: Some tests in `dbtest` do not use the `mongo::unittest::Test` class |
| Comment by Githook User [ 09/Mar/18 ] |
|
Author: {'email': 'maria@mongodb.com', 'name': 'Maria van Keulen', 'username': 'mvankeulen94'}Message: |
| Comment by Maria van Keulen [ 27/Feb/18 ] |
|
To ensure arbiters don't trip the "unset" assertion, they should initialize their fCV parameter at the point in startup when they find out they are arbiters. To avoid bugs such as |
| Comment by Tess Avitabile (Inactive) [ 13/Feb/18 ] |
|
Please recall while doing this work that arbiters will never read the FCV document. |