[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: (cherry picked from commit 502bb27fae52b9d6a38be9e51e20ac82d8c10f00) |
| 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: |
| 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 |