Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2967

Dirty reads outside the transaction

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

      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 Unassigned
            Reporter:
            arunkjn Arun Kumar Jain
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: