Use the commit/abort index build optime to drop index build sidetables

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2026-03-30, CAR Team 2026-04-13
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the internal tables used for index builds are dropped with a droptime of Timestamp::min(). This is invalid, as untimestamped drops should only be used for rolling back table creation, and results in the drop being unreplicated. It should instead use the optime of the commitIndexBuild or abortIndexBuild operation that's causing the tables to be dropped.

      KVDropPendingIdentReaper currently has a workaround for this (enableDeferUntimestampedDrops()) which should be removed once this is fixed.

            Assignee:
            Enrico Golfieri
            Reporter:
            Thomas Goyne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: