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

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

      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.

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

              Created:
              Updated:
              Resolved: