Ack,
please let me know if/when i have to push.

Mathi.


----- vu.m.ngu...@dektech.com.au wrote:

> osaf/libs/agents/saf/lga/lga_state.c |  6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> 
> The stream is not recovered after headless due to wrong state
> condition checking.
> 
> Fix the condition checking - recover only when previous state is
> headless.
> 
> diff --git a/osaf/libs/agents/saf/lga/lga_state.c
> b/osaf/libs/agents/saf/lga/lga_state.c
> --- a/osaf/libs/agents/saf/lga/lga_state.c
> +++ b/osaf/libs/agents/saf/lga/lga_state.c
> @@ -546,11 +546,11 @@ void lga_serv_recov1state_set(void)
>       TRACE_ENTER();
>  
>       if (is_lga_state(LGA_NO_SERVER)) {
> +             set_lga_state(LGA_RECOVERY1);
> +             TRACE("lga_state = RECOVERY1");
> +     } else {
>               /* We have not been headless. No recovery shall be done */
>               goto done;
> -     } else {
> -             set_lga_state(LGA_RECOVERY1);
> -             TRACE("lga_state = RECOVERY1");
>       }
>  
>       start_recovery2_thread();

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to