Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4022

DocumentNodeStoreService journal write should log write failures

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.27, 1.2.11, 1.3.15
    • Fix Version/s: 1.0.28, 1.2.12, 1.4, 1.4.0
    • Component/s: documentmk
    • Labels:
      None

      Description

      Currently, DocumentNodeStore.backgroundWrite() will handle failures to create a journal entry silently, just accumulating the changes. If the DocumentStore implementation consistently fails to create new entries, the changes document will essentially grow indefinitely.

      Minimally, the code should log an error when then journal entry could not be written; allowing the problem to be further analyzed.

        Attachments

        1. OAK-4022.diff
          1 kB
          Julian Reschke

          Issue Links

            Activity

              People

              • Assignee:
                reschke Julian Reschke
                Reporter:
                reschke Julian Reschke
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: