History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CACHE-181
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Lars Torunski
Reporter: Tom Quellenberg
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
OSCache

addGroupMappings leads to inconsistent Memory-Cache

Created: 20/Jun/05 11:34 AM   Updated: 19/Jul/06 02:29 PM
Component/s: Base Classes
Affects Version/s: 2.1.1
Fix Version/s: 2.3.2

Environment: Limited memory cache and unlimited disc cache
Issue Links:
Related
This issue relates to:
CACHE-188 removeEntry should update group mappings Minor Closed
This issue is related to:
CACHE-244 Cache group is not updated if entry i... Major Closed


 Description  « Hide
Adding a key to a group creates a new MemoryGroup containing only the new key. This is a wrong behavior in situaltions where a persistentGroup group exists (with potentially further keys). The key should only added to existing MemoryGroup.

Line 1482 in AbstractConcurrentReadCache:

Set memoryGroup = (Set) groups.get(groupName);

if (memoryGroup != null) {
                    memoryGroup.add(key);
                }

 All   Comments   Change History      Sort Order:
Lars Torunski - [15/Jul/06 02:36 PM ]
fixed by CACHE-188