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

Lars Hofhansl commented on PHOENIX-4967:
----------------------------------------

Maybe in here:
{code:java}
                        if (isLocalIndex && previousScan != null && 
previousScan.getScan() != null
                                && (((!isReverse && 
Bytes.compareTo(scanPair.getFirst().getAttribute(SCAN_ACTUAL_START_ROW),
                                        previousScan.getScan().getStopRow()) < 
0)
                                || (isReverse && 
Bytes.compareTo(scanPair.getFirst().getAttribute(SCAN_ACTUAL_START_ROW),
                                        previousScan.getScan().getStopRow()) > 
0)
                                || 
(Bytes.compareTo(scanPair.getFirst().getStopRow(), 
previousScan.getScan().getStopRow()) == 0))
                                    && 
Bytes.compareTo(scanPair.getFirst().getAttribute(SCAN_START_ROW_SUFFIX), 
previousScan.getScan().getAttribute(SCAN_START_ROW_SUFFIX))==0)) {
                            continue;
                        }
{code}

In BaseResultIterator. No clue what this is doing, no comment of course. 
_GRRRRR_

> Reverse scan along LOCAL index does not always return all data
> --------------------------------------------------------------
>
>                 Key: PHOENIX-4967
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4967
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Lars Hofhansl
>            Priority: Major
>         Attachments: PHOENIX-4967-test.txt
>
>
> Will attach a test-case soon.
> (Note that this independent of PHOENIX-4964)
> I've not been able to make this fail in any real usage. There seems to be 
> something specific about this test.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to