Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2767

Support snapshot reads on secondaries

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.12, 4.0
    • Affects Version/s: None
    • Component/s: None
    • None

      The provisional API for snapshot reads is:

      # docs1 and docs2 read from the same snapshot on the server 
      with client.start_session(snapshot=True):
          docs1 = list(coll1.find({}, session=session))
          docs2 =  list(coll2.find({}, session=session))
      

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: