Osafntd will be crash when run as roaming sc. Periodic checking expect
running on active. In this case, it still run on the node with quiesed state.

This fix is to correct the behavior of check log pending. The periodic
checking only run on active.
---
 src/ntf/ntfd/NtfAdmin.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ntf/ntfd/NtfAdmin.cc b/src/ntf/ntfd/NtfAdmin.cc
index bde30be8c..8c368a943 100644
--- a/src/ntf/ntfd/NtfAdmin.cc
+++ b/src/ntf/ntfd/NtfAdmin.cc
@@ -1289,6 +1289,7 @@ void discardedClear(unsigned int clientId,
 }
 
 void PeriodicCheck() {
+  if (!activeController()) return;
   osafassert(NtfAdmin::theNtfAdmin != NULL);
   return NtfAdmin::theNtfAdmin->PeriodicCheck();
 }
-- 
2.25.1



_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to