[ 
https://issues.apache.org/jira/browse/PHOENIX-7004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17780083#comment-17780083
 ] 

ASF GitHub Bot commented on PHOENIX-7004:
-----------------------------------------

kadirozde commented on PR #1724:
URL: https://github.com/apache/phoenix/pull/1724#issuecomment-1781846788

   Can we add some negative testing? You can add a test coproc that returns a 
result outside the scan range.




> Validate the result returned by phoenix query is within scan range, if 
> provided.
> --------------------------------------------------------------------------------
>
>                 Key: PHOENIX-7004
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7004
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Rushabh Shah
>            Assignee: Divneet Kaur
>            Priority: Major
>
> Encountered an issue in production cluster where the range scan query 
> returned incorrect results (result were out of range). 
> We were running hbck repair operations on the same table. Therefore there 
> were region holes and region overlaps exactly at the same time while the 
> query was running. Already created PHOENIX-7003 to harden inconsistency 
> checks.
> In general, we should validate that the results returned back to customer 
> (via PhoenixResultSet#next) is always within the scan boundaries if provided.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to