Amf PR doc is updated in changesets:

changeset:   149:7db7d054b191
tag:         tip
parent:      146:f6b6282eb97e
user:        [email protected]
date:        Tue Apr 07 15:41:31 2015 +0530
summary:     amf: update for 4.6 release [#1169, #1158, #964, #1153, #1235]

changeset:   148:3ce1d815cb2b
branch:      opensaf-4.5.x
parent:      143:1d06fc8336d7
user:        [email protected]
date:        Tue Apr 07 15:36:37 2015 +0530
summary:     amf: update for 4.5.1 release [#538, #1169]

changeset:   147:393b155b47cd
branch:      opensaf-4.4.x
parent:      142:ea2199a72dfe
user:        [email protected]
date:        Tue Apr 07 15:34:41 2015 +0530
summary:     amf: update for 4.4.2 release [#538, #1169]



---

** [tickets:#1169] amfd: SI_SWAP operation accepted but will always fail when 
cold sync not finished**

**Status:** fixed
**Milestone:** 4.4.2
**Created:** Tue Oct 14, 2014 12:43 PM UTC by Ingvar Bergström
**Last Updated:** Tue Mar 31, 2015 08:32 AM UTC
**Owner:** Nagendra Kumar

If a SI Swap operation is issued to SI "safSi=SC-2N,safApp=OpenSAF" before cold 
sync of standby node is finished, the swap will alwayas fail.
-The swap is started and applications are taken into operation on the new 
active node.
-After a while AMF detect that coldsync is not completed and will try to swap 
back again.
-The return code from the admin operation is SA_AIS_OK.

To my opinion the SI Swap operation shall not start until coldsync is finished 
and return TRY_AGAIN while waiting.

Some observations:
-No check is made for coldsync finished in method SG_2N::si_swap (sg_2n_fsm.cc)
-the control block AVD_CL_CB variable "stby_sync_state" is initially set to 
AVD_STBY_IN_SYNC already at start, so this can not be used to test for coldsync 
in this case.
-all return codes except SA_AIS_OK are converted to SA_AIS_ERR_BAD_OPERATION in 
function si_admin_op_cb for SWAP operation (si.cc).


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to