You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Vandahl (JIRA)" <ji...@apache.org> on 2016/08/07 09:48:20 UTC

[jira] [Resolved] (JCS-165) BlockDiskCache partial remove / group remove doesn't work

     [ https://issues.apache.org/jira/browse/JCS-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Vandahl resolved JCS-165.
--------------------------------
       Resolution: Fixed
    Fix Version/s: jcs-2.0-beta-2

Applied modified patch

> BlockDiskCache partial remove / group remove doesn't work
> ---------------------------------------------------------
>
>                 Key: JCS-165
>                 URL: https://issues.apache.org/jira/browse/JCS-165
>             Project: Commons JCS
>          Issue Type: Bug
>            Reporter: Wiktor N
>            Assignee: Thomas Vandahl
>             Fix For: jcs-2.0-beta-2
>
>         Attachments: BlockDiskCache_remove_patch.diff, BlockDiskCache_remove_testcases.diff
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)