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

    • Technical task
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • segment-tar

    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.

      frm WDYT?

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: