Commons JCS
  1. Commons JCS
  2. JCS-7

Improve recycle bin hole management

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: jcs-1.3
    • Fix Version/s: jcs-2.0-alpha-1
    • Component/s: Indexed Disk Cache
    • Labels:
      None
    • Environment:
      All

      Description

      Improve the management of the "holes" maintained by the recycle bin. Added contiguous hole merging, and maintainence of gaps left by allocation of space from the recycle bin.

        Activity

        Hide
        Aaron Smuts added a comment -

        I added a bytes free counter and unit tests to verify that is works properly. I added the counter value to the stats.
        Eventually the optimization should be driven by this number.

        If we move towards a fixed slot size disk cache, then there will be no holes.

        Show
        Aaron Smuts added a comment - I added a bytes free counter and unit tests to verify that is works properly. I added the counter value to the stats. Eventually the optimization should be driven by this number. If we move towards a fixed slot size disk cache, then there will be no holes.
        Hide
        Thomas Vandahl added a comment -

        I don't see why this is still open. BlockDiskCache implements the fixed slot size disk cache.

        Show
        Thomas Vandahl added a comment - I don't see why this is still open. BlockDiskCache implements the fixed slot size disk cache.

          People

          • Assignee:
            Thomas Vandahl
            Reporter:
            Peter Schwarz
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development