karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-6037) DB connection and acquire lock to be retried few times before giving up
Date Sun, 06 Jan 2019 12:16:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-6037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735172#comment-16735172
] 

ASF subversion and git services commented on KARAF-6037:
--------------------------------------------------------

Commit 157cefbfd79ba4a7c39cd35d8d7c38a26bdf866c in karaf's branch refs/heads/master from Jean-Baptiste
Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=157cefb ]

Merge pull request #711 from kaja-mohideen/KARAF-6037-Doc

Doc update for KARAF-6037

> DB connection and acquire lock to be retried few times before giving up
> -----------------------------------------------------------------------
>
>                 Key: KARAF-6037
>                 URL: https://issues.apache.org/jira/browse/KARAF-6037
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.0.4
>         Environment: Apache Karaf 4.0.4
> DB Lock using MySQLJDBCLock.
>            Reporter: Kaja Mohideen
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>              Labels: HA,, jdbc
>             Fix For: 4.2.3
>
>
> 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).
> Note: I'm using start level = 1 and karaf.lock.slave.block = true



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message