[infinispan-issues] [JBoss JIRA] (ISPN-11128) IndexMode.PRIMARY_OWNER should index state transfer data if the index is non-shared

Gustavo Fernandes (Jira) issues at jboss.org
Tue Jan 7 08:59:57 EST 2020


Gustavo Fernandes created ISPN-11128:
----------------------------------------

             Summary: IndexMode.PRIMARY_OWNER should index state transfer data if the index is non-shared
                 Key: ISPN-11128
                 URL: https://issues.redhat.com/browse/ISPN-11128
             Project: Infinispan
          Issue Type: Bug
          Components: Embedded Querying
    Affects Versions: 10.1.0.Final
            Reporter: Gustavo Fernandes
            Assignee: Gustavo Fernandes


The {{IndexMode.PRIMARY_OWNER}} strategy is suitable for single indexes cluster-wide, that happens when using {{InfinispanIndexManager}} and {{ElasticSearchIndexManager}}. On this case, an entry should be indexed only once since all new joining nodes will see the global index.

For the cases where the index is local to each node (near real time and file system index managers), the state transfer data should definitely be indexed, otherwise when ownership of a key changes the entry will be kept in the 'old' owner. 



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


More information about the infinispan-issues mailing list