[SERVER-14638] Move global sethbmsg info ReplCoord Created: 21/Jul/14  Updated: 19/Nov/14  Resolved: 30/Oct/14

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 2.8.0-rc0

Type: Task Priority: Critical - P2
Reporter: Scott Hernandez (Inactive) Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: elections
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-14637 Move CmdReplSetTest to the replicatio... Closed
is related to SERVER-14639 Finish Topology Coordinator Replicati... Closed
is related to SERVER-4444 Make replica sets (Applier) more test... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   
  • Remove global sethbmsg from rs.h/cpp
  • Add setMyHeartbeatMessage(std::string) to ReplicationCoordinator
  • Replace global usage in bgsync.h/cpp and rs_sync.h/cpp to use ReplCoord

 
src/mongo//db/repl/bgsync.cpp:147:                sethbmsg(str::stream() << "sync source problem: " << e.toString());
src/mongo//db/repl/bgsync.cpp:150:                sethbmsg(str::stream() << "exception in producer: " << e2.what());
...
src/mongo//db/repl/rs_sync.cpp:231:                sethbmsg("unexpected exception in syncThread()");
src/mongo//db/repl/rs_sync.h:45:    void sethbmsg(const std::string& s, const int logLevel=0);
 



 Comments   
Comment by Githook User [ 30/Oct/14 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-14638: Move global sethbmsg into ReplCoord
Branch: master
https://github.com/mongodb/mongo/commit/1d1bcb0f6e8dc92adc0cd6d1b0bbd65018dbe31a

Comment by Scott Hernandez (Inactive) [ 21/Oct/14 ]

Right now we are losing heartbeat messages in the new impl.

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