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

An _id index is built on the local.startup_log collection by default

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.0-rc1
    • Component/s: Index Maintenance, Storage
    • Labels:
    • ALL
    • Hide
      db.getSiblingDB('local').startup_log.getIndexes();
      
      Show
      db.getSiblingDB('local').startup_log.getIndexes();

      In 2.4.9, an _id index is not automatically created on the local.startup_log collection. In master, an _id index is created by default. This is a regression caused by the changes from SERVER-8412.

      2.4.9:

      > db.getSiblingDB('local').startup_log.getIndexes()
      [ ]
      

      master:

      > db.getSiblingDB('local').startup_log.getIndexes()
      [
      	{
      		"v" : 1,
      		"key" : {
      			"_id" : 1
      		},
      		"name" : "_id_",
      		"ns" : "local.startup_log"
      	}
      ]
      

      Version: 575c9cbe27ba6b9ba56b810e42508d120ae44a94

            Assignee:
            Unassigned Unassigned
            Reporter:
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: