This is an automated email from the ASF dual-hosted git repository. vjasani pushed a commit to branch 5.1 in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/5.1 by this push: new 5cea8edb00 PHOENIX-7002 : Added log line for Stale Region Boundary Cache Exception (#1674) 5cea8edb00 is described below commit 5cea8edb00ff3885bb11c57b7cdcec7a1bfc6551 Author: Divneet18 <dik...@ucsd.edu> AuthorDate: Thu Sep 14 23:13:21 2023 -0700 PHOENIX-7002 : Added log line for Stale Region Boundary Cache Exception (#1674) --- .../src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java b/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java index 1157cec81c..b9d7819012 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java @@ -1398,6 +1398,9 @@ public abstract class BaseResultIterators extends ExplainTable implements Result // Resubmit just this portion of work again Scan oldScan = scanPair.getFirst(); byte[] startKey = oldScan.getAttribute(SCAN_ACTUAL_START_ROW); + if (e2 instanceof StaleRegionBoundaryCacheException) { + LOGGER.warn("Found stale region boundary with the following stack trace ", e2); + } if (e2 instanceof HashJoinCacheNotFoundException) { LOGGER.debug( "Retrying when Hash Join cache is not found on the server ,by sending the cache again");