[SERVER-35117] Enumerate and remove Storage-related FeatureCompatibilityVersion 3.6-dependent code and tests Created: 21/May/18  Updated: 18/Jun/18  Resolved: 18/Jun/18

Status: Closed
Project: Core Server
Component/s: Storage, Upgrade/Downgrade
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Blake Oler Assignee: Maria van Keulen
Resolution: Done Votes: 0
Labels: nyc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-35625 Remove 3.6-specific WiredTiger compat... Closed
Sprint: Storage NYC 2018-06-18, Storage NYC 2018-07-02
Participants:

 Description   

The following needs to be done:
1. Create a list of tickets with code and tests to remove and mark them as “is depended on by” this ticket. This will assist the Upgrade/Downgrade Team in tracking progress.
2. Complete said tickets promptly.

3. Create a ticket identifying Storage-related generic upgrade/downgrade references that the Upgrade/Downgrade team should update now that the 3.6-dependent references have been removed.



 Comments   
Comment by Michael Cahill (Inactive) [ 15/Jun/18 ]

I was asked specifically about WiredTigerKVEngine::cleanShutdown and the places where MongoDB configures compatibility versions for WiredTiger.

For the purposes of unblocking this work, we should set compatibility=(require_min="3.1") (was 3.1.0) to determine whether starting with FCV=4.0. References to earlier WT versions should be removed. Since compatibility is omitted to enable the latest behavior in WiredTiger, none of these changes need to wait for the WiredTiger version to be bumped.

When downgrading (to 4.0) as part of clean shutdown, if downgrading:

  • we should remove any use_timestamp configuration to WT_CONNECTION::close (the default behavior should be correct for 4.1 and above)
  • we should remove the loop that calls WiredTigerUtil::setTableLogging
  • we should not need to close / reopen and then close again.
  • Instead, it should be sufficient to call _conn->reconfigure with compatibility=(release=3.1) with just one call to _conn->close
Generated at Thu Feb 08 04:38:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.