Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8681

Remove dead code handling WT versions earlier than 3.2.0

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • 5

      Summary
      Discovered during refactor work in WT-8673. It's best to wait for WT-8673 to be merged before starting this ticket.

      WT-5630 adds a #define WT_MIN_STARTUP_VERSION which prevents WiredTiger from starting on versions older than 3.2.0, which should make code checking for older versions (such as WT_LOG_V3_VERSION, see the FIXME in the code) no longer required.

      Check that values such as WT_LOG_V3_VERSION are now redundant and remove any dead code that follows from their removal.

      Motivation

      • Does this affect any team outside of WT?
        No
      • How likely is it that this use case or problem will occur?
        N/A
      • If the problem does occur, what are the consequences and how severe are they?
        N/A
      • Is this issue urgent?
        No

      Acceptance Criteria (Definition of Done)
      Verify that the above code can be removed with no impact on WiredTiger, and if so clean up the dead code.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: