Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10950

Lost backup entries when using spring data and cache store

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7
    • None
    • cache, spring
    • None

    Description

      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.

      Attachments

        1. CacheRepository.java
          0.3 kB
          Roman Guseinov
        2. SpringRepositoryTest.java
          4 kB
          Roman Guseinov

        Activity

          People

            Unassigned Unassigned
            guseinov Roman Guseinov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: