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

Consistently getting "exception: collection's metadata is undergoing changes" during a drop

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0-rc6
    • Affects Version/s: 2.6.6, 2.8.0-rc2
    • Component/s: Sharding
    • Fully Compatible
    • ALL

      Problem

      During a mongo-perf sharded run, can consistently get the message

      Mixed.v3.FindOneUpdateIntId-50-50
      1       6075.749179410887
      2       13312.055801527022
      4       24662.78574471106
      8       38385.964154489324
      12      40500.04579100665
      16      38213.81966631593
      20      36571.848693041466
      Error running test [object Object]: drop failed: {
      "code" : 13331,
      "ok" : 0,
      "errmsg" : "exception: collection's metadata is undergoing changes. Please try again."
      }
      

      Reproduce

      config1

      /home/ec2-user/mongodb-linux-x86_64-2.6.6/bin/mongod --configsvr --port 30001 --dbpath /data2/db/conf30001 --logpath /data3/logs/conf30001/server.log --fork --smallfiles
      

      config2

      /home/ec2-user/mongodb-linux-x86_64-2.6.6/bin/mongod --configsvr --port 30002 --dbpath /data2/db/conf30002 --logpath /data3/logs/conf30002/server.log --fork --smallfiles
      

      config3

      /home/ec2-user/mongodb-linux-x86_64-2.6.6/bin/mongod --configsvr --port 30003 --dbpath /data2/db/conf30003 --logpath /data3/logs/conf30003/server.log --fork --smallfiles
      

      mongos

      /home/ec2-user/mongodb-linux-x86_64-2.6.6/bin/mongos --port 27017 --configdb localhost:30001,localhost:30002,localhost:30003 --logpath /data3/logs/mongos/server.log --fork
      

      shard1

      /home/ec2-user/mongodb-linux-x86_64-2.6.6/bin/mongod --shardsvr --port 28001 --dbpath /data2/db/db100 --logpath /data3/logs/db100/server.log --fork
      

      shard2

      /home/ec2-user/mongodb-linux-x86_64-2.6.6/bin/mongod --shardsvr --port 28002 --dbpath /data2/db/db200 --logpath /data3/logs/db200/server.log --fork
      

      benchRun

      python benchrun.py -f testcases/mixed_small.js  -t 1 2 4 8 12 16 20 -l mytest -s ../mongo/mongo --writeCmd true --trialCount 1 '--testFilter='\''sanity'\''' --shard 2
      

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            alvin Alvin Richards (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: