apurtell opened a new pull request, #2632: URL: https://github.com/apache/phoenix/pull/2632
The local index stale region check falls back to the scan stop row when EXPECTED_UPPER_REGION_KEY is absent. Reversed scans are swapped on the client, so the stop row is the region start key and every region looks stale. Set the attribute to the region end key in setLocalIndexAttributes so the check is direction independent. When the check passes, setupLocalIndexScan must also accept the swapped boundaries. Take the prefix from the region start key in both directions. For a reversed scan, put the stop row suffix in the start row. Co-Authored-By: Claude Opus 5.5 <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
