[SERVER-13250] db.upgradeCheckAllDbs() reports "Collection Error: lack of _id index on collection: local.startup_log" on a freshly installed 2.4.9 standalone mongod instance Created: 18/Mar/14  Updated: 11/Jul/16  Resolved: 19/Mar/14

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 2.6.0-rc1
Fix Version/s: 2.6.0-rc2

Type: Bug Priority: Major - P3
Reporter: Timothy Olsen (Inactive) Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

Run a 2.4.9 standalone mongod:

mongod --dbpath SOME_EMPTY_DIRECTORY

Run a 2.6.0-rc1 mongo shell and run the db.upgradeCheckAllDbs() command on the admin database:

/tmp/mongodb-osx-x86_64-2.6.0-rc1/bin/mongo 
MongoDB shell version: 2.6.0-rc1
connecting to: localhost:27017/test
> use admin
switched to db admin
> db.upgradeCheckAllDbs()
 
Checking database local
 
Checking collection local.startup_log
Collection Error: lack of _id index on collection: local.startup_log
To fix the problems above please consult http://dochub.mongodb.org/core/upgrade_checker_help
false
> 

Participants:

 Description   

From a 2.6.0-rc1 mongo shell, db.upgradeCheckAllDbs() reports "Collection Error: lack of _id index on collection: local.startup_log" on a freshly installed 2.4.9 standalone mongod instance.

This also happens with a freshly installed 2.4.9 3-node replica set.



 Comments   
Comment by Githook User [ 19/Mar/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-13250 do not check local.startup_log for _id index in upgradeCheck()

(cherry picked from commit 9a53f30468a0c68e1167ce565041bbce22add8ff)
Branch: v2.6
https://github.com/mongodb/mongo/commit/99cd103ecfcaefbf01ccf9b080924e4ca52fd44c

Comment by Githook User [ 19/Mar/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-13250 do not check local.startup_log for _id index in upgradeCheck()
Branch: master
https://github.com/mongodb/mongo/commit/9a53f30468a0c68e1167ce565041bbce22add8ff

Generated at Thu Feb 08 03:31:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.