[SERVER-9636] Display chunk version, not memory address, in non-default log line Created: 09/May/13  Updated: 11/Jul/16  Resolved: 09/May/13

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: 2.4.3
Fix Version/s: 2.4.6, 2.5.0

Type: Improvement Priority: Major - P3
Reporter: Tad Marshall Assignee: Tad Marshall
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 code

LOG(3) << "found " << _validDiffs << " new chunks for collection " << _ns
       << " (tracking " << newTracked.size() << "), new version is " << _maxVersion << endl;

displays the value of the _maxVersion pointer. We should display the version itself, not the pointer value.



 Comments   
Comment by auto [ 29/Jul/13 ]

Author:

{u'username': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-9636 Display version, not pointer value
Branch: v2.4
https://github.com/mongodb/mongo/commit/551c30f0061d38f3296ea095d4f7a8c160b6b10e

Comment by auto [ 09/May/13 ]

Author:

{u'date': u'2013-05-09T17:29:21Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-9636 Display version, not pointer value
Branch: master
https://github.com/mongodb/mongo/commit/a937738e08477f2b3e8b27a796bc556e71b47ae4

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