]
Pedro Ruivo closed ISPN-3189.
-----------------------------
Resolution: Out of Date
{{DeltaCompositeKey}} was removed.
Extend Grouping API to mapping of DeltaCompositeKeys to the same node
as the delta aware value key
--------------------------------------------------------------------------------------------------
Key: ISPN-3189
URL:
https://issues.jboss.org/browse/ISPN-3189
Project: Infinispan
Issue Type: Enhancement
Components: Core
Affects Versions: 5.3.0.CR1
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
Priority: Minor
Try to understand and analyze the performance impact to extended the Grouping API to
support the DeltaCompositeKey and return the owners based on the delta aware value key.
In the current implementation, the interceptors are responsible to check if the key is a
DeltaCompositeKey instance and check for the ownership based on the delta aware value
key.
Pros and cons of using an extension of Grouping API
Pros:
* this check for DeltaCompositeKey instance is done in a single point instead of being
spread in the code.
* less error prone
Cons:
* possible performance impact since all the getSegment(key) invocations should perform
the check.