"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/rde/rded/rde_main.cc" between
opensaf-5.21.06.tar.gz and opensaf-5.21.09.tar.gz

About: OpenSAF is a project focused on Service Availability (SA) that develops middleware based on open and industry standard interfaces for applications requiring uninterrupted 24x7 service.

rde_main.cc  (opensaf-5.21.06):rde_main.cc  (opensaf-5.21.09)
skipping to change at line 128 skipping to change at line 128
case RDE_MSG_PEER_UP: { case RDE_MSG_PEER_UP: {
if (msg->fr_node_id != own_node_id) { if (msg->fr_node_id != own_node_id) {
LOG_NO("Peer up on node 0x%x", msg->fr_node_id); LOG_NO("Peer up on node 0x%x", msg->fr_node_id);
BroadcastPeerInfoResp(); BroadcastPeerInfoResp();
role->AddPeer(msg->fr_node_id); role->AddPeer(msg->fr_node_id);
} }
break; break;
} }
case RDE_MSG_PEER_DOWN: case RDE_MSG_PEER_DOWN:
LOG_NO("Peer down on node 0x%x", msg->fr_node_id); LOG_NO("Peer down on node 0x%x", msg->fr_node_id);
role->RemovePeer(msg->fr_node_id);
break; break;
case RDE_MSG_NEW_ACTIVE_CALLBACK: { case RDE_MSG_NEW_ACTIVE_CALLBACK: {
const std::string my_node = base::Conf::NodeName(); const std::string my_node = base::Conf::NodeName();
rde_cb->monitor_lock_thread_running = false; rde_cb->monitor_lock_thread_running = false;
// get current active controller // get current active controller
Consensus consensus_service; Consensus consensus_service;
if (consensus_service.IsEnabled() == false) { if (consensus_service.IsEnabled() == false) {
// disabled during runtime // disabled during runtime
break; break;
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)