I have created https://issues.apache.org/jira/browse/KARAF-6037 to discuss 
further on this.

// Kaja

From: Mohideen, Kaja (Nokia - IN/Chennai)
Sent: Friday, December 7, 2018 6:34 AM
To: [email protected]
Subject: Re: Karaf HA/failover

Hi JB,
Thanks for responding.
1 is the start level, I have used. How is start level related to retry? Have 
this been documented somewhere?
// Kaja
________________________________
From: Jean-Baptiste Onofré <[email protected]<mailto:[email protected]>>
Sent: Friday, December 7, 2018 1:44:29 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: Karaf HA/failover

Hi Kaja,

what start level did you define ?

That could an option to have a retries before shutdown. Can you please
create a Jira about that ?

Thanks,
Regards
JB

On 06/12/2018 18:22, Mohideen, Kaja (Nokia - IN/Chennai) wrote:
> Hi Karaf community,
>
>
>
> I'm trying to use Karaf HA/failover feature documented here :
> http://karaf.apache.org/manual/latest/#_ha_failover_and_cluster
>
>
>
> With database lock, I see that Karaf running with the Lock as Active
> instance is just shutting down upon losing connection with DB.
>
>
>
> I think, it would better if Karaf tries few times to reconnect & acquire
> lock before doing shutdown. When only one instance of karaf is running
> and DB connection fluctuates, this behavior impacts availability (needs
> restart from orchestration layer).
>
>
>
> Is there a reason why Karaf didn't have this kind of retry?
>
>
>
> // Kaja
>

--
Jean-Baptiste Onofré
[email protected]<mailto:[email protected]>
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to