Add mixed operation tests for writes to the oplog h field

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Once SERVER-128507 , SERVER-128508, and SERVER-128509 are complete, we should add tests that combine all three operation types (insert, update, delete) within a single transaction and a single batched write.

      Currently, tests for featureFlagContinuousInternodeValidationPerDocument cover inserts, updates, and deletes in transactions and batched writes separately. However, a real workload may interleave all three operation types within the same applyOps. This ticket covers writing tests that:

      • Perform a mix of inserts, updates, and deletes within a single multi-document transaction and verify that doc hashes are present on entries with a replicatedRecordId and absent on entries without one.
      • Perform the same mix within a batched write (WriteUnitOfWork::kGroupForTransaction) and verify the same invariants across all inner applyOps entries.

            Assignee:
            Elise Zhu
            Reporter:
            Elise Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: