jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moshe Immerman (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1572) DbDataStore connection does not always reconnect
Date Sat, 31 May 2008 14:43:46 GMT

     [ https://issues.apache.org/jira/browse/JCR-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Moshe Immerman updated JCR-1572:
--------------------------------

    Attachment: jackrabbit-trunk.patch
                jackrabbit1.4.patch

an optional checkValidConnectionSql attribute can be added to DbDataStore and BundleDbPersistenceManager

Should I refactor DatabaseFileystem, DatabaseJournal and DatabasePersistenceManager to use
ConnectionRecoveryManager so that they can benefit from this change as well?

> 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
>         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.


Mime
View raw message