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

Remove DocumentNodeStore dependency in UnsavedModifications

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.0, 1.8.0
    • documentmk
    • None

    Description

      UnsavedModifications.persist() depends on DocumentNodeStore, which has a rather big surface. The method primarily needs the RevisionContext part and the DocumentStore.

      Attachments

        Issue Links

          Activity

            The RevisionContext isn't even needed. Right now, it is only used to get a Clock to measure the time it takes to perform the various write backs. This can also be replaced with a Stopwatch.

            Done in trunk: http://svn.apache.org/r1794679

            mreutegg Marcel Reutegger added a comment - The RevisionContext isn't even needed. Right now, it is only used to get a Clock to measure the time it takes to perform the various write backs. This can also be replaced with a Stopwatch . Done in trunk: http://svn.apache.org/r1794679

            Bulk close for 1.7.0

            edivad Davide Giannella added a comment - Bulk close for 1.7.0

            People

              mreutegg Marcel Reutegger
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: