Uploaded image for project: 'Spring Data Geode'
  1. Spring Data Geode
  2. DATAGEODE-388

findById() returns the wrong data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: 2.4.2 (2020.0.2)
    • Component/s: None
    • Labels:
      None

      Description

      https://github.com/claudiu-balciza/SpringBootDataGeodeFindByIdError/tree/develop

      I'm getting weird data back from Geode 1.13 when using spring data for geode findById()

      This is proof of concept code

      The logic is implemented in MyRunner.java

      The class is simple, the data is stored correctly in Geode 1.13

      The region is created like this: gfsh> create region --name=TestRegion --type=PARTITION_REDUNDANT_PERSISTENT --recovery-delay=10000 --disk-store=DataPersistence --enable-statistics=true --eviction-action=overflow-to-disk --compressor='org.apache.geode.compression.SnappyCompressor' --redundant-copies=1

      Issue: findById() returns the wrong data while findAll() works fine

        Attachments

          Activity

            People

            Assignee:
            jblum John Blum
            Reporter:
            Balciza Claudiu Balciza
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: