Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-165

BlockDiskCache partial remove / group remove doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • jcs-2.0-beta-2
    • None
    • None
    • Patch

    Description

      BlockDiskCache implementation improperly handles removal using prefixes and groups.

      I'm attaching test cases (mostly - copy&paste from IndexedDiskCache for testing of removals) and patch (mostly - copy&paste from IndexedCache).

      I tried to extract that to super-class methods, but in case of tests - that would require opening API in AbstractDiskCache (most of the methods used in tests are protected), and in case of fix - that would probably need to also abstract the locking mechanism.

      Attachments

        Issue Links

          Activity

            People

              tv Thomas Vandahl
              wiktorn Wiktor N
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: