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.0
    • 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

        Peter Schwarz created issue -
        Aaron Smuts made changes -
        Field Original Value New Value
        Assignee Scott Eade [ seade ] Aaron Smuts [ asmuts ]
        Aaron Smuts made changes -
        Component/s Indexed Disk Cache [ 12311318 ]
        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.
        Aaron Smuts made changes -
        Affects Version/s jcs-1.2.7.9 [ 12312036 ]
        Affects Version/s jcs-1.2.7.8 [ 12312037 ]
        Thomas Vandahl made changes -
        Affects Version/s jcs-1.2.7.9 [ 12312036 ]
        Fix Version/s jcs-1.4-dev [ 12312535 ]
        Affects Version/s jcs-1.2.7.8 [ 12312037 ]
        Affects Version/s jcs-1.3 [ 12312534 ]
        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.
        Thomas Vandahl made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Aaron Smuts [ asmuts ] Thomas Vandahl [ tv ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development