Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1155107

Summary: Cache events that aren't create/modify/remove cannot be filtered
Product: [JBoss] JBoss Data Grid 6 Reporter: William Burns <wburns>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: jdg-bugs, mhusnain, slaskawi
Target Milestone: ER4   
Target Release: 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously in Red Hat JBoss Data Grid, a regression occurred, which was caused by the problem detailed in BZ-1154044, when a change was introduced to allow improved filtering for previous values. As a result, users could no longer register a filter with their listener to prevent cache events that were not of the create, modify or remove events. As an example, CacheEntryActivatedEvent could not be filtered. This problem is now fixed by allowing the new CacheEventFilter and CacheEventFilterConverter classes to be applied to events other than create, modify and remove. As a result, users can now filter on any Cache event type except for CacheEntryEvictedEvent as it can supply multiple keys which the filter is not suited for. This only affects local listeners as cluster listeners cannot raise these events.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-28 13:27:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description William Burns 2014-10-21 11:35:11 UTC
Description of problem:
This is to include changes to allow for other event types to be filtered.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Sebastian Ɓaskawiec 2014-11-07 15:00:04 UTC
PR: https://github.com/infinispan/jdg/pull/334

Comment 4 Martin Gencur 2014-11-12 11:52:14 UTC
The fix is present in ER5 and tests attached to the fix are passing. VERIFIED.