[
https://issues.redhat.com/browse/ISPN-11992?page=com.atlassian.jira.plugi...
]
Will Burns commented on ISPN-11992:
-----------------------------------
Unfortunately segmentation is currently broken as we utilize a marshaller which can change
the segment a key maps to. We really need to use an identity marshaller for the remote
cache in the store and do the media type conversion in the store itself.
We then must disable segmentation if the cache with the store's key storage media type
doesn't match the server's key storage media type or if the number of segments
don't match. We technically would need to do it for the consistent hash used but we
don't have a way to check that easily atm.
Convert RemoteStore to use new SPI
----------------------------------
Key: ISPN-11992
URL:
https://issues.redhat.com/browse/ISPN-11992
Project: Infinispan
Issue Type: Enhancement
Components: Loaders and Stores
Reporter: Will Burns
Priority: Major
Fix For: 12.0.0.Final, 11.0.1.Final
The RemoteStore already uses a non blocking client. We should convert it to the new SPI
to utilize this.
We also need to add in a check for the old server to see how many segments it has. If the
number is different than the current server we need to disable the segmentation
characteristic and instead do the costlier iteration.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)