Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2405

mongos does not report unique index insert failure on non-sharded collection

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.5
    • Affects Version/s: 1.6.4
    • Component/s: Sharding
    • None
    • Environment:
      javascript shell or ruby driver connected to mongos running on linux to sharded replicata set mongod(s) running on linux
    • ALL

      When trying to write duplicate data to a collection that is not sharded and has a unique index, the data will not be written, but no error is reported to the driver / console. If the same query is ran connected directly to mongod (instead of through mongos) the error is reported.

            Assignee:
            Unassigned Unassigned
            Reporter:
            gowabash Matt Brown
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: