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

Make it clear that w:0 does not work sharded since 2.6

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual, Server
    • None

    Description

      http://docs.mongodb.org/manual/reference/write-concern/

      Due to the write API rework in 2.6, mongos does not support or propagate operations with a write concern of 0 (unacknowledged). Naturally, this hurts performance when switching from pre-2.6 or a replica set to a sharded cluster.

      barriebehackett jeff.yemin sam.weaverThis should probably be clearly documented in the driver documentation if not entirely disallowed.It's really easy to use w:0 against a sharded cluster and not realize it's not the same.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            osmar.olivo Osmar Olivo
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 14 weeks, 1 day ago