Use consistent timestamp for multikey writes on the primary and secondary

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-12-22, CAR Team 2026-01-05, CAR Team 2026-01-19, CAR Team 2026-02-02, CAR Team 2026-02-16, CAR Team 2026-03-02
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In a non-multi-doc transaction, when the user operation that causes the multikey field to be set gets batched with other operations during the secondary oplog application, the secondary sets the multkey field with the timestamp of the first operation in the oplog batch.

      One option is to derive the correct timestamp the triggering write uses. The other option is to put the triggering write in a new batch, so the existing mechanism will use its own timestamp.

            Assignee:
            Josef Ahmad
            Reporter:
            Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: