Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-5434

Region data is not updated when CQ and RegisterAllKey are used together in NativeClient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Bug
    • None
    • None
    • client/server, cq, native client
    • None

    Description

      When CQ and RegisterAllKey are used together in NativeClient, the latest data can not be geted. I have created a simple application to confirm this issue.
      It exists below and the confirmation procedure is as follows:

      https://github.com/masaki-yamakawa/GeodeNativeSample/blob/master/csharp/GeodeSample/GeodeSample/CqAndRegisterAllKeysBug.cs

      1. Start Locator with gfsh. (start locator -name={Name})
      2. Start CacheServer with gfsh. (start server -name={Name})
      3. Create an exampleRegion with gfsh. (create region --name=exampleRegion --type=REPLICATE)
      4. Put data to exampleRegion with gfsh. (put --region=exampleRegion --key='1' --value='1'; put --region=exampleRegion --key='2' --value='2')
      5. Execute CqAndRegisterAllKeysBug.cs.
      6. Update exampleRegion's data with gfsh. (put --region=exampleRegion --key='1' --value='11'; put --region=exampleRegion --key='2' --value='22')
      7. You can see that the data with key=1 has not been updated.

      Attachments

        Activity

          People

            Unassigned Unassigned
            masaki.yamakawa Masaki Yamakawa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: