* [Cluster-devel] Cluster Project branch, RHEL5, updated. cmirror_1_1_15-74-g0f92723
@ 2008-05-15 18:08 jbrassow
0 siblings, 0 replies; only message in thread
From: jbrassow @ 2008-05-15 18:08 UTC (permalink / raw)
To: cluster-devel.redhat.com
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 <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);
+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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-15 18:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15 18:08 [Cluster-devel] Cluster Project branch, RHEL5, updated. cmirror_1_1_15-74-g0f92723 jbrassow
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.