Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4224

Automatic resending cache for HashJoin doesn't work when cache has expired on server side

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 4.12.0
    • 4.12.0
    • None
    • None

    Description

      The problem occurs when the cache has expired on server side and client want to resend it. This problem has been introduced in PHOENIX-4010. Actual result in this case is that client doesn't send the cache because of the following check:

      			if (cache.addServer(tableRegionLocation) ... )) {
      				success = addServerCache(table, startkeyOfRegion, pTable, cacheId, cache.getCachePtr(), cacheFactory, txState);
      			}
      

      Since the region location hasn't been changed, we actually don't send cache again, but produce new scanner which will fail with the same error and client will fall to recursion.

      Attachments

        1. PHOENIX-4224-1.patch
          5 kB
          Sergey Soldatov
        2. PHOENIX-4224-2.patch
          8 kB
          Sergey Soldatov

        Activity

          People

            sergey.soldatov Sergey Soldatov
            sergey.soldatov Sergey Soldatov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: