Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-773

Under heavy load, database journal may contain empty update records.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1, 1.2.2, 1.2.3
    • Fix Version/s: 1.3
    • Component/s: jackrabbit-core
    • Labels:
      None

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dpfister Dominique Pfister
                Reporter:
                dpfister Dominique Pfister
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: