[SERVER-60131] Update WiredTigerKVEngine::shouldDowngrade()/getDowngradeString() to support continuous release Created: 21/Sep/21 Updated: 29/Oct/23 Resolved: 11/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2021-11-15 |
| Participants: |
| Description |
|
In the past, users could only upgrade or downgrade the server one major version at a time. With continuous release, users can immediately upgrade from kLastLTS to kLastContinuous/kLatest and vice-versa, skipping releases in-between. We need to update WiredTigerKVEngine::shouldDowngrade()/getDowngradeString() to support this release model. For example, say WiredTiger changed its version on each continuous release:
Under today's implementation, shouldDowngrade() only supports downgrading to 5.0 (kLastLTS). We should modify it to also support downgrading from 5.2 (kLatest) to 5.1 (kLastContinuous). The same change will need to be done for getDowngradeString().
For reference, current version table of MongoDB <-> WiredTiger. |
| Comments |
| Comment by Githook User [ 11/Nov/21 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |
| Comment by Githook User [ 11/Nov/21 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |