summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTad Marshall <tad@10gen.com>2013-05-09 13:29:21 -0400
committerTad Marshall <tad@10gen.com>2013-07-29 12:21:53 -0400
commit551c30f0061d38f3296ea095d4f7a8c160b6b10e (patch)
tree3e91693e35c723b74a70cb0a5c2c2c98bac6129a
parent0356d2623bee3b768ddd89e0d083d6c4314a69fe (diff)
downloadmongo-551c30f0061d38f3296ea095d4f7a8c160b6b10e.tar.gz
SERVER-9636 Display version, not pointer value
-rw-r--r--src/mongo/s/chunk_diff.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/s/chunk_diff.hpp b/src/mongo/s/chunk_diff.hpp
index cdfae00bb68..b5b0bab410b 100644
--- a/src/mongo/s/chunk_diff.hpp
+++ b/src/mongo/s/chunk_diff.hpp
@@ -173,8 +173,11 @@ namespace mongo {
if( isTracked( diffChunkDoc ) ) newTracked.push_back( diffChunkDoc.getOwned() );
}
- LOG(3) << "found " << _validDiffs << " new chunks for collection " << _ns
- << " (tracking " << newTracked.size() << "), new version is " << _maxVersion << endl;
+ LOG(3) << "found " << _validDiffs
+ << " new chunks for collection " << _ns
+ << " (tracking " << newTracked.size()
+ << "), new version is " << *_maxVersion
+ << endl;
for( vector<BSONObj>::iterator it = newTracked.begin(); it != newTracked.end(); it++ ){