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

Lost backup entries when using spring data and cache store

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: cache, spring
    • Labels:
      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. SpringRepositoryTest.java
          4 kB
          Roman Guseinov
        2. CacheRepository.java
          0.3 kB
          Roman Guseinov

          Activity

            People

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

              Dates

              • Created:
                Updated: