From mboxrd@z Thu Jan 1 00:00:00 1970 From: jbrassow@sourceware.org Date: 15 May 2008 18:08:29 -0000 Subject: [Cluster-devel] Cluster Project branch, RHEL5, updated. cmirror_1_1_15-74-g0f92723 Message-ID: <20080515180829.28288.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=0f92723caa7573894d2ce1b8c3271bce564b5726 The branch, RHEL5 has been updated via 0f92723caa7573894d2ce1b8c3271bce564b5726 (commit) from a21d1c03600e011cf1ee132100ac823bf3478877 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 0f92723caa7573894d2ce1b8c3271bce564b5726 Author: Jonathan Brassow Date: Thu May 15 13:07:55 2008 -0500 clogd: Add missing check for SA_AIS_ERR_TRY_AGAIN when unlinking ckpt Retry when SA_AIS_ERR_TRY_AGAIN is received from saCkptCheckpointUnlink ----------------------------------------------------------------------- Summary of changes: cmirror/src/cluster.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/cmirror/src/cluster.c b/cmirror/src/cluster.c index dcb2806..b928fe2 100644 --- a/cmirror/src/cluster.c +++ b/cmirror/src/cluster.c @@ -528,7 +528,13 @@ open_retry: ckpt_print ("Before unlink", h); - saCkptCheckpointUnlink(ckpt_handle, &name); +unlink_retry: + rv = saCkptCheckpointUnlink(ckpt_handle, &name); + if (rv == SA_AIS_ERR_TRY_AGAIN) { + LOG_ERROR("import_checkpoint: ckpt unlink retry"); + sleep(1); + goto unlink_retry; + } if (no_read) { LOG_DBG("Checkpoint for this log already received"); hooks/post-receive -- Cluster Project