jstest + design: FCV downgrade must drain pending orphan cleanup

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Companion artifact for SERVER-121914 (downgrade to FCV 8.0 leaves uncleaned orphan documents).

      Variant of SERVER-92484 — moveChunk commits but decision doc not yet persisted when FCV flips, leaving `pending: true` range-deletion. Fix: synchronous drain before FCV bit flips + structured warning as recovery hook. Test uses `suspendRangeDeletion` + `hangBeforeWritingDecisionDocument` failpoints.

      Files in worktree mongo-w4-14:

      • jstests/sharding/fcv_downgrade_orphan_cleanup.js
      • src/mongo/db/global_catalog/SERVER-121914-design.md

      Status: Draft.

            Assignee:
            Unassigned
            Reporter:
            Mehar Grewal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: