[SERVER-7451] Add node startup information to the local DB Created: 23/Oct/12 Updated: 26/Oct/15 Resolved: 07/Jan/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 2.2.0 |
| Fix Version/s: | 2.3.2 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Adam Comerford | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Any replica set |
||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Minor Change | ||||||||
| Participants: | |||||||||
| Description |
|
Add info to local.myhoststartup or similar, idea is to record node start state and history information to aid diagnosis of issues etc. Implementation is as follows:
|
| Comments |
| Comment by Scott Hernandez (Inactive) [ 29/Jan/13 ] | ||||||||
|
Test failure from CI/bamboo causing revert:
| ||||||||
| Comment by auto [ 29/Jan/13 ] | ||||||||
|
Author: {u'date': u'2013-01-29T16:50:16Z', u'email': u'scotthernandez@gmail.com', u'name': u'Scott Hernandez'}Message: revert: Add node startup information to the local DB jstests - | ||||||||
| Comment by auto [ 29/Jan/13 ] | ||||||||
|
Author: {u'date': u'2013-01-29T13:00:26Z', u'email': u'scotthernandez@gmail.com', u'name': u'Scott Hernandez'}Message: Merge pull request #362 from rozza/
| ||||||||
| Comment by auto [ 29/Jan/13 ] | ||||||||
|
Author: {u'date': u'2013-01-29T13:00:26Z', u'email': u'scotthernandez@gmail.com', u'name': u'Scott Hernandez'}Message: Merge pull request #362 from rozza/
| ||||||||
| Comment by auto [ 29/Jan/13 ] | ||||||||
|
Author: {u'date': u'2013-01-29T12:10:39Z', u'email': u'ross.lawley@gmail.com', u'name': u'Ross Lawley'}Message: Add node startup information to the local DB jstests - | ||||||||
| Comment by Scott Hernandez (Inactive) [ 07/Jan/13 ] | ||||||||
|
Ross: This is done in C++ code and formatted there – no js.
https://github.com/mongodb/mongo/blob/master/src/mongo/db/db.cpp#L244 | ||||||||
| Comment by Ross Lawley [ 07/Jan/13 ] | ||||||||
|
StartTimeLocal is missing the year. Also, the formatting seems off I'd thought it should be the same as doing latestLog.startTime.toLocaleString() in the shell. | ||||||||
| Comment by auto [ 18/Dec/12 ] | ||||||||
|
Author: {u'date': u'2012-12-18T16:10:02Z', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}Message: | ||||||||
| Comment by auto [ 11/Dec/12 ] | ||||||||
|
Author: {u'date': u'2012-12-11T01:02:17Z', u'email': u'ben.becker@10gen.com', u'name': u'Ben Becker'}Message: | ||||||||
| Comment by auto [ 10/Dec/12 ] | ||||||||
|
Author: {u'date': u'2012-12-10T20:25:33Z', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}Message: |