[
https://issues.apache.org/jira/browse/PHOENIX-6356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17278471#comment-17278471
]
Tanuj Khurana commented on PHOENIX-6356:
----------------------------------------
The reason test is passing on 4.x is because there is no PagedFilter set on the
scan. The adjustScanFilter method in GlobalIndexRegionScanner removes this
filter in case of 4.x but not in master. I am not sure if that is a bug or not
?
Regardless, we should be calling .clear() here.
[~stoty] [~kozdemir]
> missing row.clear() for dummy row in GlobalIndexRegionScanner
> -------------------------------------------------------------
>
> Key: PHOENIX-6356
> URL: https://issues.apache.org/jira/browse/PHOENIX-6356
> Project: Phoenix
> Issue Type: Bug
> Components: core
> Affects Versions: 4.x
> Reporter: Istvan Toth
> Priority: Major
>
> While porting PHOENIX-6182 to master, I run into a problem in
> GlobalIndexRegionScanner where the returned dummy row is passed to the
> next(row) call.
> I have added the missing clear statement to the master patch, which fixed the
> test case.
> This doesn't seem to affect the test on 4.x, but breaks it on master.
> At least this fix should be backported to 4.x.
> Someone with a better understanding of the paging code should probably check
> if similar issues are present at other places.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)