---
** [tickets:#2085] CKPT : IMM attributes for ckpt table are increased by 1,
when ckpt open returns TIME_OUT**
**Status:** unassigned
**Milestone:** 4.7.2
**Created:** Fri Sep 30, 2016 05:13 AM UTC by Srikanth R
**Last Updated:** Fri Sep 30, 2016 05:13 AM UTC
**Owner:** nobody
Changeset : 7997 5.1.FC
IMM attributes for ckpt table are increased by 1, when ckpt open returns
TIME_OUT. Below is the flow of steps in which how application uses CKPT.
-> Initialize with ckpt with callbacks. API returned SA_AIS_OK
-> Invoke selection object. API returned SA_AIS_OK
-> Create a checkpoint using async option. API returned SA_AIS_OK
-> Kill ckpnd process.
-> Check for the callbacks and check the IMM attribute of CKPT object.
Callback is invoked, in which return value is ERR_TIMEOUT. Spec mandates
that, api should be called again to check whether checkpoint creation is
successful or not. If the further call returns ERR_EXIST, the previous call is
successful or the further call returns SA_AIS_OK, the previous call is
unsuccessful.
-> As the callback returned SA_AIS_ERR_TIMEOUT, invoked the checkpoint
creation api async again. This time, api and both callback returned SA_AIS_OK.
Now if you check the attributes for CKPT table object, the attributes
saCkptCheckpointNumOpeners, saCkptCheckpointNumReaders and
saCkptCheckpointNumWriters are having a value of 2, instead of expected value
1.
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets