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

BlockDiskCache partial remove / group remove doesn't work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: jcs-2.0-beta-2
    • Component/s: None
    • Labels:
      None
    • Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: