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

insert bulk doesn't fail on duplicate, but also doesn't change the data

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • 2.1.0
    • 1.8.2, 2.0.0
    • Concurrency, Sharding
    • CentOS 5.5, 64GB RAM, HW RAID10 w/BBU , XFS for mongo data folder (mount with nobarriers,noatime)
    • Linux

    Description

      sometimes running a bulk insert right after an upsert(with the $set command) will result in the document containing only the data from the upsert and not the data from the insert, and the insert doesn't throw duplicate exception.
      I wasn't able to reproduce on windows environment. only on linux shard.
      The collection is sharded, the cluster has 3 shards, each with has a replica set. connection is using mongos.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            oferfort ofer fort
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: