getIndexes returns duplicated indexes

XMLWordPrintableJSON

    • Linux
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
              Reporter:
              Marcio Trindade
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: