XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker - P1
    • Resolution: Incomplete
    • 2.2.3
    • None
    • None
    • None
    • ALL

    Description

      We are having some problems with sharding, when diagnosing them I stumbled upon this:

      $ mongo cancer:27022/a
      MongoDB shell version: 2.2.3
      connecting to: cancer:27022/a
      driveFS-2:SECONDARY> rs.slaveOk()
      driveFS-2:SECONDARY> db.fs.chunks.find({files_id:NumberLong("5444002714197426176")},{data:0})
      { "_id" : ObjectId("51252590f2ac490dc4e32ec8"), "files_id" : NumberLong("5444002714197426176"), "n" : 0 }
      { "_id" : ObjectId("51252597de30b908b0d23b69"), "files_id" : NumberLong("5444002714197426176"), "n" : 0 }
      driveFS-2:SECONDARY> db.system.indexes.find()
      { "v" : 1, "key" : { "_id" : 1 }, "ns" : "a.fs.chunks", "name" : "_id_" }
      { "v" : 1, "key" : { "files_id" : 1, "n" : 1 }, "unique" : true, "ns" : "a.fs.chunks", "name" : "files_id_1_n_1" }

      How this is possible?

      Attachments

        1. d1.s2.log.gz
          471 kB
        2. d2.s2.log.gz
          693 kB
        3. d3.s2.log.gz
          702 kB

        Activity

          People

            joanna.cheng@mongodb.com Joanna Cheng
            onyxmaster Aristarkh Zagorodnikov
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: