---
src/rde/rded/role.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/rde/rded/role.cc b/src/rde/rded/role.cc
index fdb0d845e..402e75a9a 100644
--- a/src/rde/rded/role.cc
+++ b/src/rde/rded/role.cc
@@ -150,8 +150,10 @@ void Role::NodePromoted() {
// promoted to active from election
ExecutePreActiveScript();
LOG_NO("Switched to ACTIVE from %s", to_string(role()));
+ PCS_RDA_ROLE old_role = role_;
role_ = PCS_RDA_ACTIVE;
rde_rda_send_role(role_);
+ UpdateMdsRegistration(role_, old_role);
Consensus consensus_service;
RDE_CONTROL_BLOCK* cb = rde_get_control_block();
--
2.17.1
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel