[
https://issues.jboss.org/browse/ISPN-8946?page=com.atlassian.jira.plugin....
]
William Burns commented on ISPN-8946:
-------------------------------------
I have to rethink this as write operations will not work without first obtaining the lock
to the cache in the LOCAL or INVAL cases (REPL/DIST/SCATTERED) would be fine as they
always delegate to the cache, unless CACHE_MODE_LOCAL is supplied (which has many issues
with write operations on these caches anyways).
All collection wrappers should always delegate to underlying
collections where available
----------------------------------------------------------------------------------------
Key: ISPN-8946
URL:
https://issues.jboss.org/browse/ISPN-8946
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.2.0.Final
Reporter: William Burns
Assignee: William Burns
All places that override values returned from keySet and entrySet should always delegate
appropriately to the underlying keySet or entrySet. We should try to be as minimally
invasive to each level down as possible. An example would be that we shouldn't create
copies of said collections if possible and instead just use delegates.
https://github.com/infinispan/infinispan/pull/5794#discussion_r173789766
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)