ACK ,Not tested .

Sorry for the delay some how Over looked this patch.

-AVM


On 5/13/2016 7:41 AM, Nhat Pham wrote:
>   osaf/libs/common/cpsv/include/cpd_proc.h |  2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
>
> Problem:
> --------
> Application gets fault code SA_AIS_ERR_NOT_EXIST in case it accesses the 
> checkpoint with
> saCkptCheckpointWrite() when SCs are up after headless state.
> The problem happens due to combination of 2 conditions:
> 1. The process ID on SC-2 before headless and after headless are same.
>     This leads their MDS destination are same. (This rarely happens)
> 2. Accessing checkpoint happens during updating checkpoint period after 
> headless state
>     (i.e the active replica hasn't been updated yet.
>     After this period checkpoint can be accessed normally)
>
> Solution:
> ---------
> The problem happens temporarily during updating period.
> The solution is to reduce the updating time out.
>
> diff --git a/osaf/libs/common/cpsv/include/cpd_proc.h 
> b/osaf/libs/common/cpsv/include/cpd_proc.h
> --- a/osaf/libs/common/cpsv/include/cpd_proc.h
> +++ b/osaf/libs/common/cpsv/include/cpd_proc.h
> @@ -20,7 +20,7 @@
>   
>   /* CPD definations */
>   #define CPD_CPND_DOWN_RETENTION_TIME 600    /* 100 Milli Sec */
> -#define CPD_CKPT_UPDATE_TIME 600     /* 10 Milli Sec */
> +#define CPD_CKPT_UPDATE_TIME 300     /* 10 Milli Sec */
>   #define CPD_CLM_API_TIMEOUT 10000000000LL
>   /* The count of non colloc replicas created by CPSv (Policy) */
>   #define CPD_NON_COLLOC_CREATED_REPLICA_CNT 1


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to