Don't emit a 'c' invalidate entry for collection metadata on the setFCV cloning DDL

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • CAR Team 2026-06-22
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As explained in the Technical Design, it should be redundant to emit a 'c' invalidate oplog entry when cloning collection metadata on setFCV (SERVER-127532):

      The CSR is either already up to date with what we are about to write (it was populated by the 8.0 catalog cache loader prior to cloning) or is kUnknown. Emitting an invalidate would trigger a full refresh, unnecessary and expensive.

      This ticket should implement this requirement. We should also evaluate if there's any other unnecessary/redundant logic during cloning.

            Assignee:
            Joan Bruguera Micó
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: