This is an automated email from the ASF dual-hosted git repository. vjasani pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push: new a14551ff7a PHOENIX-7002 : Added log line for Stale Region Boundary Cache Exception (#1674) a14551ff7a is described below commit a14551ff7a425960b4386738fda014ee85f8477e 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 097ee74a92..5c3510fc1d 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 @@ -1415,6 +1415,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");