Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1748

Mongo not failing for second request when inserting unique values

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      I am using Mongo as a system for locking resources. Multiple nodes will try to create a lock in Mongo but the second node does not fail as expected.
      We use WriteConcern: SAFE. Is there some other WriteConcern we should use?

      Attachments

        Activity

          People

            Unassigned Unassigned
            javaConductor Lee Collins [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: