[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] Cluster Project branch, RHEL5, updated. cmirror_1_1_15-74-g0f92723

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".


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 <jbrassow redhat com>
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);
+	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");

Cluster Project

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]