You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Roman Guseinov (JIRA)" <ji...@apache.org> on 2019/01/16 03:17:00 UTC

[jira] [Created] (IGNITE-10950) Lost backup entries when using spring data and cache store

Roman Guseinov created IGNITE-10950:
---------------------------------------

             Summary: 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
         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 I workaround it is possible to use {{IgniteCache#get}} instead of {{IgniteRepository#findById}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)