jstest + design: selective PIT restore must filter post-checkpoint DDL ops

    • 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-122109 (selective PIT restore creates wrong collections/views post-checkpoint).

      Names `oplog.cpp:1659` NamespaceNotFound relaxation — only catches CRUD; DDL `c` ops never hit that path. Fix plumbs `restoreNamespaces` allowlist + intercept in `applyOperation_inlock` for `mode==kRecovering && restore && op type==c`. Special-cases `renameCollection` (in-scope if either endpoint selected).

      Files in worktree mongo-w4-17:

      • jstests/replsets/selective_pit_restore_post_checkpoint_filter.js (156 lines)
      • src/mongo/db/repl/SERVER-122109-design.md

      Status: Draft.

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

              Created:
              Updated: