jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Pfister (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-773) Under heavy load, database journal may contain empty update records.
Date Thu, 01 Mar 2007 14:16:50 GMT

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

Dominique Pfister resolved JCR-773.

    Resolution: Fixed

Problem identified: on some occasion, the temporary file's contents was not written to disk
even after closing the FileOutputStream. Remedied by syncing on its file descriptor.

Introduced a performance optimization, using in-memory records as long as size stays under
a certain limit.

Fixed in r513340.

> Under heavy load, database journal may contain empty update records.
> --------------------------------------------------------------------
>                 Key: JCR-773
>                 URL: https://issues.apache.org/jira/browse/JCR-773
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.2.2
>            Reporter: Dominique Pfister
>         Assigned To: Dominique Pfister
> In a clustering scenario with a database journal, empty records may be produced. A passive
node will then throw the following exception during its synchronization: 
> 28.02.2007 08:34:11 *ERROR* ClusterNode: Unexpected error while syncing of journal: null
(ClusterNode.java, line 260)
> java.lang.NullPointerException
> 	at java.io.FilterInputStream.close(Unknown Source)
> 	at org.apache.jackrabbit.core.journal.ReadRecord.close(ReadRecord.java:197)
> 	at org.apache.jackrabbit.core.journal.DatabaseRecordIterator.close(DatabaseRecordIterator.java:148)
> 	at org.apache.jackrabbit.core.journal.DatabaseRecordIterator.close(DatabaseRecordIterator.java:114)
> 	at org.apache.jackrabbit.core.journal.AbstractJournal.doSync(AbstractJournal.java:196)
> 	at org.apache.jackrabbit.core.journal.AbstractJournal.sync(AbstractJournal.java:165)
> 	at org.apache.jackrabbit.core.journal.ClusterNode.sync(ClusterNode.java:283)
> 	at org.apache.jackrabbit.core.journal.ClusterNode.run(ClusterNode.java:254)
> 	at java.lang.Thread.run(Unknown Source)

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

View raw message