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

Dirty reads outside the transaction

    XMLWordPrintable

    Details

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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: