-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
ALL
Because BSONElement::toString() on a String-type element have a limit of 160 unless you explicitly tell it not to:
case mongo::String: s << '"'; if ( !full && valuestrsize() > 160 ) { s.write(valuestr(), 150); s << "...\""; }
You can end up with log messages like this:
m31000| 2014-12-01T21:09:54.978+0000 I REPL [ReplicationExecutor] not electing self, WIN-LPG54MQP00S:31004 would veto with 'errmsg: "I don't think WIN-LPG54MQP00S:31006 is electable because the member is not currently a secondary; member is more than 10 seconds behind the most up-to..."'