commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wiktor N (JIRA)" <>
Subject [jira] [Updated] (JCS-159) BlockDiskCache overwrites data after loading from disk
Date Sun, 31 Jan 2016 22:24:39 GMT


Wiktor N updated JCS-159:

> BlockDiskCache overwrites data after loading from disk
> ------------------------------------------------------
>                 Key: JCS-159
>                 URL:
>             Project: Commons JCS
>          Issue Type: Bug
>          Components: Indexed Disk Cache
>    Affects Versions: jcs-2.0-beta-1
>            Reporter: Wiktor N
>         Attachments:,,
> BlockDiskCache overwrites data, that were loaded from disk, so when they are written
back to disk and accessed again - cache is corrupt.
> See the test case patch below for reproduction.
> I've also attached patch for BlockDiskCacheKeyStore verification. It validates, that
all blocks belong only to one key.
> I've also proposed a patch to fix this, but it breaks some other unit test. I haven't
check them, so I'm not sure, if this is correct approach

This message was sent by Atlassian JIRA

View raw message