• Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: 2.2.3
    • Component/s: None
    • Labels:
      None
    • ALL

      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?

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

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

              Created:
              Updated:
              Resolved: