Ack with a comment below:
It is arguable that one second is a big delay interval. How are the other
services handling this?
+ if (error == SA_AIS_ERR_TIMEOUT || error == SA_AIS_ERR_TRY_AGAIN) {
+ redo = true;
+ printf("lockGrantCallbackNoResources received timeout/tryagain\n");
+ sleep(1);
Cheers,
Mathi.
On Mon, Jan 27, 2020 at 5:29 PM Jones, Alex wrote:
> fix whitespace error
> ---
> src/lck/apitest/test_saLckLimitGet.cc | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/lck/apitest/test_saLckLimitGet.cc
> b/src/lck/apitest/test_saLckLimitGet.cc
> index f3e7bc05d..bb77b696a 100644
> --- a/src/lck/apitest/test_saLckLimitGet.cc
> +++ b/src/lck/apitest/test_saLckLimitGet.cc
> @@ -45,7 +45,7 @@ SaAisErrorT lockResourceOpen(SaLckHandleT lckHandle,
> SaLckResourceHandleT& lockResourceHandle)
> {
> SaAisErrorT rc(SA_AIS_OK);
> -
> +
> while (true) {
> rc = saLckResourceOpen(lckHandle,
> ,
> @@ -68,7 +68,7 @@ SaAisErrorT lockResourceOpenAsync(SaLckHandleT lckHandle,
> SaLckResourceOpenFlagsT flags)
> {
> SaAisErrorT rc(SA_AIS_OK);
> -
> +
> while (true) {
> rc = saLckResourceOpenAsync(lckHandle, invocation, , flags);
>
> --
> 2.21.1
>
>
> --
> Notice: This e-mail together with any attachments may contain information
> of Ribbon Communications Inc. that is confidential and/or proprietary for
> the sole use of the intended recipient. Any review, disclosure, reliance or
> distribution by others or forwarding without express permission is strictly
> prohibited. If you are not the intended recipient, please notify the sender
> immediately and then delete all copies, including any attachments.
> --
>
___
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel