All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio M. Di Nitto <fabbione@fabbione.net>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] rgmanager: Update last_owner on failover
Date: Wed, 12 Jan 2011 18:07:17 +0100	[thread overview]
Message-ID: <4D2DDFC5.3060204@fabbione.net> (raw)
In-Reply-To: <1294850740-10242-1-git-send-email-lhh@redhat.com>

ACK?ed

Fabio

On 1/12/2011 5:45 PM, Lon Hohberger wrote:
> From: igor <igor1182@gmail.com>
> 
> This is a clean cherry pick in to the RHEL6 branch
> 
> Resolves: rhbz#639103
> 
> Signed-off-by: Lon Hohberger <lhh@redhat.com>
> ---
>  rgmanager/src/daemons/rg_state.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/rgmanager/src/daemons/rg_state.c b/rgmanager/src/daemons/rg_state.c
> index d23772f..7c437db 100644
> --- a/rgmanager/src/daemons/rg_state.c
> +++ b/rgmanager/src/daemons/rg_state.c
> @@ -618,6 +618,7 @@ svc_advise_start(rg_state_t *svcStatus, const char *svcName, int req)
>  		/*
>  		 * Service is running but owner is down -> RG_EFAILOVER
>  		 */
> +		svcStatus->rs_last_owner = svcStatus->rs_owner;
>  		logt_print(LOG_NOTICE,
>  		       "Taking over service %s from down member %s\n",
>  		       svcName, memb_id_to_name(membership,



      reply	other threads:[~2011-01-12 17:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12 16:45 [Cluster-devel] [PATCH] rgmanager: Update last_owner on failover Lon Hohberger
2011-01-12 17:07 ` Fabio M. Di Nitto [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D2DDFC5.3060204@fabbione.net \
    --to=fabbione@fabbione.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.