[infinispan-issues] [JBoss JIRA] (ISPN-3103) StateRequestCommand requests serialization of type for which no Externalizer exists
Sanne Grinovero (JIRA)
issues at jboss.org
Mon Nov 17 12:36:39 EST 2014
[ https://issues.jboss.org/browse/ISPN-3103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020533#comment-13020533 ]
Sanne Grinovero commented on ISPN-3103:
---------------------------------------
When fixing this, let's also keep in mind that serializing a structure which needs to be a concurrent collection is racy. Make sure the right version of the contents is sent across the wire!
> StateRequestCommand requests serialization of type for which no Externalizer exists
> -----------------------------------------------------------------------------------
>
> Key: ISPN-3103
> URL: https://issues.jboss.org/browse/ISPN-3103
> Project: Infinispan
> Issue Type: Enhancement
> Components: State Transfer
> Reporter: Sanne Grinovero
> Assignee: Adrian Nistor
> Attachments: ISPN-3103_cow_externalized.patch
>
>
> RPC org.infinispan.statetransfer.StateRequestCommand sends a parameter defined as type Set (field segments) which is implemented by a java.util.concurrent.CopyOnWriteArraySet.
> This implementation is Serializable but seems to be quite slow as we don't have a custom Externalizer for it.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the infinispan-issues
mailing list