[
https://issues.apache.org/jira/browse/PHOENIX-3120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas D'Silva updated PHOENIX-3120:
------------------------------------
Attachment: PHOENIX-3120.patch
[~jamestaylor]
In IndexTool sincefor a transactional table we set the
PhoenixConfigurationUtil.TX_SCN_VALUE attribute. Then in PhoenixInputFormat the
BaseScannerRegionObserver.TX_SCN scan attribute is set based on the
TX_SCN_VALUE.
I couldn't think of an easy way to set this scan attribute when we run the
alter index statement in AsyncIndexRebuilderTask. The test that you added
passes without setting this scan attribute (since we don't set an scn if the
table is transactional).
Is it ok to not set the BaseScannerRegionObserver.TX_SCN attribute for txn
tables in AsyncIndexRebuilderTask given that this task runs every 10 seconds?
> AsyncIndexRebuilderTask fails for transactional tables
> ------------------------------------------------------
>
> Key: PHOENIX-3120
> URL: https://issues.apache.org/jira/browse/PHOENIX-3120
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.8.0
> Reporter: Thomas D'Silva
> Assignee: Thomas D'Silva
> Fix For: 4.8.1
>
> Attachments: PHOENIX-3120.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)