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

Refactor KernelNodeStoreBranch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9
    • core
    • None

    Description

      Before attempting OAK-659 again, I'd like to refactor KernelNodeStoreBranch since this one always makes me struggle with its convoluted state tracking and ad-hoc if/elsing. I'd like to transform the same logic into several inner classes representing the various states (i.e. state pattern) branch can be in (unmodified, in-memory, persisted and merged).

      Attachments

        1. OAK-975.patch
          22 kB
          Michael Dürig

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: