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

DropDupos information missing or lost.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.8.0-rc0
    • Component/s: Index Maintenance
    • None
    • OS X

      When creating an index having dropDupos: true the index is created but when getting index information via getIndexes() the dropDupos information seems to be missing.

      db.a.ensureIndex( { a: 1 }, { unique: true, dropDups: true } )
      

      2.6.5

      {
        "v" : 1,
        "unique" : true,
        "key" : {
          "a" : 1
        },
        "name" : "a_1",
        "ns" : "test.a",
        "dropDups" : true
      }
      

      2.8.0-rc0

      {
        "v" : 1,
        "unique" : true,
        "key" : {
          "a" : 1
        },
        "name" : "a_1",
        "ns" : "test.a"
      }
      

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            cstrobl Christoph Strobl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: