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

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

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: