[SERVER-12252] Fix mongod log output for write commands Created: 04/Jan/14 Updated: 11/Jul/16 Resolved: 18/Feb/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Logging |
| Affects Version/s: | None |
| Fix Version/s: | 2.6.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eliot Horowitz (Inactive) | Assignee: | Siyuan Zhou |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
When slow commands get logged by mongod, the entire BSON object representing the operation gets written to the log. For write commands, these can be quite large, making the logs hard to read and possibly further impacting performance, since writing to the logs is done serially. |
| Comments |
| Comment by Githook User [ 14/Feb/14 ] |
|
Author: {u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}Message: Signed-off-by: Matt Kangas <matt.kangas@mongodb.com> |
| Comment by Githook User [ 13/Feb/14 ] |
|
Author: {u'username': u'IanWhalen', u'name': u'Ian Whalen', u'email': u'ian@mongodb.com'}Message: Revert " This reverts commit dad66801520c399a15a070ba089c766cb4c1608e. Reverting because this broke tests in sharding_auth |
| Comment by Githook User [ 13/Feb/14 ] |
|
Author: {u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}Message: Signed-off-by: Matt Kangas <matt.kangas@mongodb.com> |
| Comment by Eliot Horowitz (Inactive) [ 04/Jan/14 ] |
|
Might be able to do both with same mechanism. |