jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart van der Schans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1572) DbDataStore connection does not always reconnect
Date Tue, 30 Dec 2008 22:22:44 GMT

    [ https://issues.apache.org/jira/browse/JCR-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659967#action_12659967

Bart van der Schans commented on JCR-1572:


Could this (almost) trivial  patch also be backported to the 1.5 and 1.4 branch? This is quite
a nasty bug because it leaves the repository in an error state in which no new documents can
be added.


> DbDataStore connection does not always reconnect
> ------------------------------------------------
>                 Key: JCR-1572
>                 URL: https://issues.apache.org/jira/browse/JCR-1572
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>            Reporter: Moshe Immerman
>            Assignee: Thomas Mueller
>             Fix For: 1.5.0
>         Attachments: jackrabbit-trunk.patch, jackrabbit1.4.patch
> If a DbDataStore connection is closed due to an error all subsequent addRecord calls
will fail with 'connection has been closed and autoReconnect == false'
>  after getRecord is called and the connection is reconnected addRecord will succeed.
> the connection should be validated before setting autoReconnect = false or on retrieval
from the pool.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message