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

Implement FileStore.size through FileStore.approximateSize

    XMLWordPrintableJSON

    Details

    • Type: Technical task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: segment-tar
    • Labels:

      Description

      FileStore.size() is prone to lock contention and should not be called too often. As OAK-2879 already introduced an approach for tracking the current size of the file store without having to lock, we might as well promote his to be "the official" implementation.

      Francesco Mari WDYT?

        Attachments

        1. OAK-4105-01.patch
          2 kB
          Andrei Dulceanu
        2. OAK-4105-02.patch
          5 kB
          Andrei Dulceanu

          Activity

            People

            • Assignee:
              adulceanu Andrei Dulceanu
              Reporter:
              mduerig Michael Dürig
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: