Account for prepared transactions when aggregating size count deltas

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Storage Execution 2026-04-27, Storage Execution 2026-05-11
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For prepared transactions, size and count metadata become valid only at commit or abort, not at the prepare: true applyOps entry.

      Currently, replicated_fast_count::aggregateSizeCountDeltasInOplog() incorrectly includes uncommitted deltas. This ticket aims to exclude these deltas until they are committed, or ignore them if aborted.

            Assignee:
            Haley Connelly
            Reporter:
            Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: