[SERVER-4860] Add nupdated and nscanned when printing slow updates to log Created: 03/Feb/12  Updated: 11/Jul/16  Resolved: 09/Feb/12

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: 2.1.1

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: stats
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Minor Change
Participants:

 Description   

Maybe nyields also.

Should help figuring out if a line like this is reasonable or problematic

Thu Feb  2 14:03:15 [conn1622833] update test.foo query: { date: new Date(1328140800000), asdf: 5994 } update: { $inc: { counter: 1 } } 68032ms



 Comments   
Comment by Jon Hoffman [ 26/Jun/12 ]

Can just bdf12ac67795ef52ff952f40da69df09bcbd7ccf be backported?

Comment by Eliot Horowitz (Inactive) [ 10/Feb/12 ]

This changed the structure of the logs (bool -> int), so definitely can't be backported.

Comment by auto [ 09/Feb/12 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Add nupdated and nmoved to profile object and slow op logging SERVER-4860

leaving bool moved in profiler object for backwards compatibility
Branch: master
https://github.com/mongodb/mongo/commit/936fea78727ca9026ce35d6afb8896509ee6e273

Comment by Mathias Stearn [ 08/Feb/12 ]

nscanned: https://github.com/mongodb/mongo/commit/bdf12ac67795ef52ff952f40da69df09bcbd7ccf

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