Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2833 Refactor TarMK
  3. OAK-4102

Break cyclic dependency of FileStore and SegmentTracker

    XMLWordPrintableJSON

Details

    Description

      SegmentTracker and FileStore are mutually dependent on each other. This is problematic and makes initialising instances of these classes difficult: the FileStore constructor e.g. passes a not fully initialised instance to the SegmentTracker, which in turn writes an initial node state to the store. Notably using the not fully initialised FileStore instance!

      Attachments

        1. OAK-4102-01.patch
          53 kB
          Francesco Mari
        2. OAK-4102-02.patch
          53 kB
          Francesco Mari
        3. OAK-4102-03.patch
          55 kB
          Francesco Mari

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: