-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
ALL
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
It looks like ReplSet::hbmsg() has different behavior depending on the value of _hbmsgTime, and valgrind is complaining that ReplSet::hbmsg() is being called when _hbmsgTime is uninitialized. It appears that _hbmsgTime gets set in ReplSetImpl::sethbmsg() but is not set in the ReplSetImpl constructor.
Looks like ReplSet::hbmsg() returns an empty string regardless of the actual value of _hbmsgTime but still might be worth cleaning this up.