[infinispan-issues] [JBoss JIRA] (ISPN-11992) Convert RemoteStore to use new SPI
Will Burns (Jira)
issues at jboss.org
Fri Jun 26 10:26:37 EDT 2020
[ https://issues.redhat.com/browse/ISPN-11992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14178174#comment-14178174 ]
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)
More information about the infinispan-issues
mailing list