osaf/services/saf/amf/amfd/sgproc.cc | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/osaf/services/saf/amf/amfd/sgproc.cc
b/osaf/services/saf/amf/amfd/sgproc.cc
--- a/osaf/services/saf/amf/amfd/sgproc.cc
+++ b/osaf/services/saf/amf/amfd/sgproc.cc
@@ -192,6 +192,15 @@ uint32_t avd_new_assgn_susi(AVD_CL_CB *c
* called while doing checkpoint update.
*/
+ if (susi->list_of_csicomp == NULL) {
+ TRACE("Couldn't add any compcsi to Si'%s'",
susi->si->name.value);
+ avd_susi_update_assignment_counters(susi, AVSV_SUSI_ACT_DEL,
static_cast<SaAmfHAStateT>(0),
+ static_cast<SaAmfHAStateT>(0));
+ avd_susi_delete(cb, susi, true);
+ rc = NCSCC_RC_FAILURE;
+ goto done;
+ }
+
if (false == ckpt) {
if (avd_snd_susi_msg(cb, su, susi, AVSV_SUSI_ACT_ASGN, false,
NULL) == NCSCC_RC_SUCCESS) {
if (su->su_on_node->admin_node_pend_cbk.invocation !=
0) {
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel