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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.12.0
    • Fix Version/s: 4.12.0
    • Labels:
      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-2.patch
          8 kB
          Sergey Soldatov
        2. PHOENIX-4224-1.patch
          5 kB
          Sergey Soldatov

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: