Sharding DDLs must generate their commit op entry using a timestamp that predates the cluster time of the related placement change on the global catalog

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2026-06-08
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      A recent test regression revealed that under very specific conditions, the op entry generated during the commit of dropDatabase may bring the same ts value (tOpEntry) that gets later recorded within config.placementHistory once the operation gets persisted on the global catalog (tPlacementChange).

      This is problematic, since it prevents change streams readers from being correctly resumed at ts; instead, each sharding DDL should always guarantee that tOpEntry < tPlacementChange.

      The objective of this ticket is to amend the known regression in dropDatabase and audit the rest of the DDL operations.

            Assignee:
            Paolo Polato
            Reporter:
            Paolo Polato
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: