Dirty reads outside the transaction

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.8.1
    • Component/s: Transaction Management
    • None
    • Environment:
      Docker for Mac.
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I am using mongodb 4.0 with latest drivers version 3.8.1

      Within a transaction, when a value is changed and is not committed yet, outside the transaction we expect to not see that change. This expectation is not happening.

      I have written a simple test case to demonstrate this.

       Here is the link to the entire project containing integration test to demonstrate this. It is running mongodb in a docker container, so depends on docker being installed.
      https://github.com/arunkjn/mongodbtransactiontest

              Assignee:
              Unassigned
              Reporter:
              Arun Kumar Jain
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: