Remove always-true compact eligibility stub

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Compaction
    • None
    • Storage Engines - Persistence
    • 276.72
    • SE Persistence backlog
    • None

      Problem

      After WT-18480 strips leftover tiered compact URI checks, __wt_compact_check_eligibility always returns true (session and uri unused). session_compact.c and conn_compact.c still branch on it. That stub is not required to finish tiered storage removal.

      Change

      Delete __wt_compact_check_eligibility. Remove the always-true checks in session_compact.c and conn_compact.c. Do not wait on src/tiered deletion. Do this after WT-18480 is on the branch you are targeting.

      Test

      Ninja Debug. cd dist && ./s_fast. Smallest relevant compact test (session compact and/or background compact).

            Assignee:
            Unassigned
            Reporter:
            Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: