Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14638

Move global sethbmsg info ReplCoord

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.8.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible

      • 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);
      
      

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: