Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-103351

Write tests for write conflict between transaction and non-transaction writes.

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

      There are tests for write conflicts between transactions (transactions_write_conflicts.js and transactions_write_conflicts_unique_indexes.js) but the tests for write conflicts between transaction and non-transaction (single document) writes are insuficient. Existing tests (write_conflicts_with_non_txns.js) only test insert-insert write conflicts missing on all other form of write conflicts:

      • update-update
      • upsert-upsert
      • delete-delete
      • update-delete
      • delete-update

      Testing those scenarios with non-transaction is particularly important given that in some of those operations Express Plan is used that is not covered with the existing test since it is not applied for insert operations.

            Assignee:
            ernesto.rodriguez@mongodb.com Ernesto Rodriguez Reina
            Reporter:
            ernesto.rodriguez@mongodb.com Ernesto Rodriguez Reina
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None