[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 09:10:12 EST 2020


     [ https://issues.redhat.com/browse/ISPN-11128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gustavo Fernandes updated ISPN-11128:
-------------------------------------
    Description: 
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. 

  was:
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. 



> 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
>            Priority: Major
>
> 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