You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2018/09/14 03:06:00 UTC
[jira] [Updated] (KYLIN-1620) support read from metadata replica
regions
[ https://issues.apache.org/jira/browse/KYLIN-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shaofeng SHI updated KYLIN-1620:
--------------------------------
Fix Version/s: v2.6.0
Component/s: Storage - HBase
> support read from metadata replica regions
> ------------------------------------------
>
> Key: KYLIN-1620
> URL: https://issues.apache.org/jira/browse/KYLIN-1620
> Project: Kylin
> Issue Type: Sub-task
> Components: Storage - HBase
> Reporter: yunjiong zhao
> Assignee: yunjiong zhao
> Priority: Major
> Fix For: v2.6.0
>
> Attachments: KYLIN-1620.patch
>
>
> After we set multiple replicas for metadata table, we need set Consistency to TIMELINE to let client can get/scan from replica regions. By default, the consistency is STRONG, and get or scan can only go to primary region.
> {code}
> Get get = new Get(row);
> get.setConsistency(Consistency.TIMELINE);
> Scan scan = new Scan();
> scan.setConsistency(Consistency.TIMELINE);
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)