[SERVER-13267] log message should not suggest index build on primary without warning Created: 19/Mar/14  Updated: 11/Jul/16  Resolved: 27/Mar/14

Status: Closed
Project: Core Server
Component/s: Logging, Stability
Affects Version/s: 2.6.0-rc1
Fix Version/s: 2.6.0-rc3

Type: Improvement Priority: Major - P3
Reporter: Thomas Rueckstiess Assignee: Thomas Rueckstiess
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

The log message in src/mongo/db/db.cpp:355 suggests to run an index build on the primary. This is dangerous on a production system and can lead to outages.

Need to add warning and/or suggest to build in rolling fashion (with link to docs).



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

Author:

{u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}

Message: SERVER-13267 change checkForIdIndexes recommendation to dochub link

(cherry picked from commit 502bb27fae52b9d6a38be9e51e20ac82d8c10f00)
Branch: v2.6
https://github.com/mongodb/mongo/commit/4692aaec6e3f57efd02c0ef759ec243aac326464

Comment by Githook User [ 27/Mar/14 ]

Author:

{u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}

Message: SERVER-13267 change checkForIdIndexes recommendation to dochub link
Branch: master
https://github.com/mongodb/mongo/commit/502bb27fae52b9d6a38be9e51e20ac82d8c10f00

Comment by Gianfranco Palumbo [ 19/Mar/14 ]

This message is logged when there is no $_id_ index.

https://github.com/mongodb/mongo/blob/master/src/mongo/db/db.cpp#L355

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