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

Concurrent transactional destroy with GII could cause an entry to be removed and version information to be lost

    XMLWordPrintableJSON

Details

    Description

      In a newly rebalanced bucket, while GII is in progress, a transactional destroy is applied to cache. There is a logic that it should be in token mode and leaves the entry as a Destroyed token, even though the version tag of the entry indicates that it has the correct version.

      However, at end of the GII, there is a cleanUpDestroyedTokensAndMarkGIIComplete method removes all the destroyed entries – this wipes off the entry version tag information and cause the subsequent creates starts fresh with new version tags.

      This could leads to client server data inconsistency as the newly created entries will be ignored by the clients as the newly created entry has lower version number while client has high ones.

      Attachments

        Activity

          People

            eshu Eric Shu
            eshu Eric Shu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: