uncaught exception building index on empty collection in shard_keycount.js

XMLWordPrintableJSON

    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

       m30001| Wed May  9 04:55:45 [conn3] build index test.foo { _id: 1 }
       m30001| Wed May  9 04:55:45 [conn3] build index done.  scanned 0 total records. 0 secs
       m30001| Wed May  9 04:55:45 [conn3] insert test.foo keyUpdates:0 1193ms
       m30001| Wed May  9 04:55:45 [FileAllocator] allocating new datafile /data/db/shard_keycount1/test.1, filling with zeroes...
      Wed May  9 04:55:45 uncaught exception: command { "shardcollection" : "test.foo", "key" : { "_id" : 1 } } failed: {
      	"proposedKey" : {
      		"_id" : 1
      	},
      	"curIndexes" : [ ],
      	"ok" : 0,
      	"errmsg" : "please create an index over the sharding key before sharding."
      }
      failed to load: /mnt/slaves/Linux_32bit_Nightly/mongo/jstests/sharding/shard_keycount.js
      

      http://buildbot.mongodb.org/builders/Nightly%20Linux%2032-bit/builds/912/steps/test_9/logs/stdio

            Assignee:
            Eric Milkie
            Reporter:
            Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: