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

SegmentBufferWriter not flushed after OnRC

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0, 1.6.15, 1.8.9
    • Component/s: segment-tar
    • Labels:
      None

      Description

      I suspect there is a rare case where a SegmentBufferWriter is not flushed from the SegmentBufferWriterPool. This would happen after OnRC when a previous writer is disposed (vs. being re-used). AFAIU this currently those writers would never be flushed any more and thus lose their transient segment when the store is shut down. This will lead to an inconsistent store (SNFE).

        Attachments

          Activity

            People

            • Assignee:
              mduerig Michael Dürig
              Reporter:
              mduerig Michael Dürig
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: