[infinispan-issues] [JBoss JIRA] (ISPN-12139) Cache.size() always returns 0 for invalidation caches
Dan Berindei (Jira)
issues at jboss.org
Fri Jul 24 10:05:47 EDT 2020
[ https://issues.redhat.com/browse/ISPN-12139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14293708#comment-14293708 ]
Dan Berindei commented on ISPN-12139:
-------------------------------------
The cause is that the {{KeyPartitionerFactory}} in WildFly creates a {{KeyPartitioner}} instance with 256 segments, while {{LocalClusterPublisherManagerImpl}} only expects 1 segment in invalidation non-tx caches.
> Cache.size() always returns 0 for invalidation caches
> -----------------------------------------------------
>
> Key: ISPN-12139
> URL: https://issues.redhat.com/browse/ISPN-12139
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 11.0.1.Final
> Reporter: Paul Ferraro
> Priority: Blocker
> Attachments: TEST-Test.xml, Test.java
>
>
> It seems that Cache.size() always returns 0 for an invalidation cache.
> See attached reproducer.
> Filing as a blocker as this is a regression since 10.1.x.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list