[infinispan-issues] [JBoss JIRA] (ISPN-11381) AdvancedCache.getGroup(key) may return incomplete results during state transfer

Dan Berindei (Jira) issues at jboss.org
Tue Feb 25 13:02:00 EST 2020


Dan Berindei created ISPN-11381:
-----------------------------------

             Summary: AdvancedCache.getGroup(key) may return incomplete results during state transfer
                 Key: ISPN-11381
                 URL: https://issues.redhat.com/browse/ISPN-11381
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 11.0.0.Alpha1, 10.1.2.Final, 9.4.18.Final
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 11.0.0.Alpha2


{{AdvancedCache.getGroup(groupKey)}} returns all the keys that belong to a group.

If the originator is not an owner, the command is forwarded to the primary owner. If the originator is a primary or a backup owner for the group key, the command is executed locally.

During state transfer, a node may be a write owner for the group key but not a read owner. Currently {{GroupingInterceptor}} uses {{LocalizedCacheTopogy.isWriteOwner(groupKey)}} instead of {{isReadOwner(groupKey)}}, so it executes the command on the originator instead of forwarding it to the primary owner.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list