[SERVER-5522] clean up master/slave replHandshake log message Created: 05/Apr/12  Updated: 18/Sep/15  Resolved: 10/Mar/15

Status: Closed
Project: Core Server
Component/s: Logging, Replication
Affects Version/s: None
Fix Version/s: 3.1.0

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

Backwards Compatibility: Fully Compatible
Participants:

 Description   

log(ok) << "replHandshake res not: " << ok << " res: " << res << endl;
currently on line 1119 of db/repl.cpp

This currently looks like an error even when it succeeds if using -v:

Thu Apr 5 14:00:25 [rsSync] replHandshake res not: 1 res:

{ ok: 1.0 }

 Comments   
Comment by Githook User [ 10/Mar/15 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-5522 improve replHandshake log message
Branch: master
https://github.com/mongodb/mongo/commit/300a825f5e59ac7bf9e6273caba3b59b603e9431

Comment by Daniel Pasette (Inactive) [ 02/Aug/13 ]

the log message is still weird at log level 1.

Comment by Eric Daniels (Inactive) [ 01/Aug/13 ]

I think this might have been changed since this ticket was made.
LOG( ok ? 1 : 0 ) << "replHandshake res not: " << ok << " res: " << res << endl;

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