Skip to contentSkip to conversation

Cluster Project branch, RHEL5, updated. cmirror_1_1_15-74-g0f92723

Cluster-devel [email protected] 1 participant 1 message May 15, 2008

lore
Share & tools
lore
#0 lore raw

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 <[email protected]>
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(-)
cmirror/src/cluster.c +7 -1
index dcb2806..b928fe2 100644
@@ -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