Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13633

Docs should recommend using causal consistency to get read-your-writes

    XMLWordPrintableJSON

Details

    Description

      Description

      I was looking at the documentation of geoSearch, and I noticed that we state:

      To ensure that a single thread can read its own writes, use "majority" read concern and 
      "majority" write concern against the primary of the replica set.

      This is no longer our current recommendation. As of 3.6, we recommend using causal consistency (with majority read concern and majority write concern) in order to get read-your-writes behavior. When causal consistency is enabled for the session, it's no longer necessary to perform all operations against the primary.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago