-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Trivial - P5
-
Affects Version/s: None
-
Component/s: Index Maintenance, Logging
-
None
-
Fully Compatible
-
Storage NYC 2019-01-28
-
1
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
A lack of final log details make it hard to reconstruct index build timelines from mongod logs using grep etc.
When a build starts we get a log like:
migtest34-shard-00-02-sokhy.mongodb.net/27017/mongodb/mongodb.log.2018-12-11T08-01-04:2018-12-10T23:13:22.544+0000 I INDEX [repl index builder 13] build index on: trev.historicTrackingEvent properties: { v: 2, key: { createdDateTime: 1 }, name: "createdDateTime", expireAfterSeconds: 10368000, ns: "trev.historicTrackingEvent", background: true }
but when it ends, only:
migtest34-shard-00-02-sokhy.mongodb.net/27017/mongodb/mongodb.log.2018-12-11T08-01-04:2018-12-10T23:49:52.020+0000 I INDEX [repl index builder 13] build index done. scanned 50567515 total records. 2189 secs
Can we add at least the ns and index name to the "build index done" so that we can use grep for analysis?