[
https://issues.apache.org/jira/browse/IGNITE-10950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Guseinov updated IGNITE-10950:
------------------------------------
Attachment: SpringRepositoryTest.java
> Lost backup entries when using spring data and cache store
> ----------------------------------------------------------
>
> Key: IGNITE-10950
> URL: https://issues.apache.org/jira/browse/IGNITE-10950
> Project: Ignite
> Issue Type: Bug
> Components: cache, spring
> Affects Versions: 2.7
> Reporter: Roman Guseinov
> Priority: Major
> Attachments: CacheRepository.java, SpringRepositoryTest.java
>
>
> For example, there are 2 server nodes in the cluster. Also, there is a
> replicated cache with a configured cache store. If we try loading entry
> through {{IgniteRepository#findById}} then it can be fetched from the
> cachestore successfully. But if we check the partitions for that entry we
> will find only one primary and there is no backup in the cluster. The
> reproducer is attached [^SpringRepositoryTest.java] [^CacheRepository.java]
> .
> As a workaround it is possible to use {{IgniteCache#get}} instead of
> {{IgniteRepository#findById}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)