jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1572) DbDataStore connection does not always reconnect
Date Fri, 09 May 2008 07:12:55 GMT

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

Thomas Mueller commented on JCR-1572:


Validation is a good idea, what about a query of the form SELECT * FROM DATASTORE WHERE 1=0.
What I want to avoid is hiding a real problem, so I think this validation should be optional.

I still think it's more important to understand the real problem first: why did you get a
CommunicationException, why did the link go down temporarily? What version of MySQL (server
and JDBC client) do you use? When I have tested it with MySQL, I found out that the objects
must fit in memory. Is this the case for you 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
> 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