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

Assert that a storage transaction is active for all cursor read operations

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      Execution Team 2020-01-13
    • Linked BF Score:
      9

      Description

      It is not incorrect to use WiredTiger cursors without an active transaction, however this can be problematic when operations have preconditions in flags passed to begin_transaction(). Without an active transaction, an operation may expect to ignore prepare conflicts, but not (see SERVER-44581).

      Like we do for writes, we should assert that cursor next() and seek() operations are performed inside an active transaction.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-execution Backlog - Execution Team
              Reporter:
              louis.williams Louis Williams
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: