-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
Description:
4.2 binaries running as arbiters will not downgrade their data files. Assuming WT bumps the file version format to a value that 4.0 does not understanding, downgrading binaries will require deleting the local data files.
This should not cause additional steps for the user. When the downgraded binary comes up and learns it should become an arbiter, it will seamlessly transition itself into the role without requiring the previous data files.
Engineering Ticket Description:
Because arbiters do not track FCV (since they do not follow the oplog and thus do not currently know when it is upgraded), the WiredTiger data format for arbiters is stuck on 2.9 (the version associated with MongoDB 3.2). We must keep dragging along the parsing code and associated test code for that version for each new release of MongoDB, indefinitely.
Some ways to fix this would be:
- upgrade arbiters to the 4.2 data format immediately, the first time a 4.2 binary is run, and change the downgrade instructions to delete all arbiter datafiles on downgrade.
- change the way FCV changes are propagated so arbiters hear about them.
- deprecate and remove support for non-replicating arbiters.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- documents
-
SERVER-35651 Arbiters do not track FCV changes
- Closed
- is related to
-
DOCS-13029 Note that arbiters will always return the previous version for FCV by design
- Closed