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

getIndexes returns duplicated indexes

    • Linux

      When I run the function "getIndexes" I got duplicated results for a specific index (account_id_1_list_ids_1_status_1) with the same key.

      db.contacts.getIndexes()
      [
        {
          "v" : 1,
          "key" : {
            "_id" : 1
          },
          "ns" : "emailmarketing_production.contacts",
          "name" : "_id_"
        },
        {
          "v" : 1,
          "key" : {
            "account_id" : 1,
            "list_ids" : 1,
            "status" : 1
          },
          "ns" : "emailmarketing_production.contacts",
          "name" : "account_id_1_list_ids_1_status_1",
          "background" : true
        },
        {
          "v" : 1,
          "key" : {
            "account_id" : 1,
            "list_ids" : 1,
            "status" : 1
          },
          "ns" : "emailmarketing_production.contacts",
          "name" : "account_id_1_list_ids_1_status_1",
          "background" : true
        }
      ]
      

            Assignee:
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            Reporter:
            marciotrindade Marcio Trindade
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: