The Patch provides the fix where smfCreateRollbackElement return OK
to avoid failed/ERR_EXIST situation.

This issue is a by-product of the fix/patch provided at commit 
44d113c4fa669065afe78d70bc81c5297d79ec0e.
---
 src/smf/smfd/SmfCampaignWrapup.cc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/smf/smfd/SmfCampaignWrapup.cc 
b/src/smf/smfd/SmfCampaignWrapup.cc
index 199ee19..4ead11a 100644
--- a/src/smf/smfd/SmfCampaignWrapup.cc
+++ b/src/smf/smfd/SmfCampaignWrapup.cc
@@ -232,6 +232,9 @@ bool SmfCampaignWrapup::executeCampComplete() {
              saf_error(ais_rc));
         rc = false;
         break;
+     } else {
+        // Done
+        break;
      }
   }
   if (adminOpTimer.is_timeout() == true && ais_rc != SA_AIS_OK) {
@@ -252,6 +255,9 @@ bool SmfCampaignWrapup::executeCampComplete() {
              saf_error(ais_rc));
          rc = false;
          break;
+      } else {
+         // Done
+         break;
       }
     }
     if (adminOpTimer.is_timeout() == true && ais_rc != SA_AIS_OK) {
-- 
1.9.1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to