You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "liyang (JIRA)" <ji...@apache.org> on 2016/05/03 12:35:12 UTC

[jira] [Commented] (KYLIN-1620) support read from metadata replica regions

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

liyang commented on KYLIN-1620:
-------------------------------

If metadata reads stale, unexpected behavior could happen, e.g. some latest data becomes not query-able. However since metadata update is not frequent, I suppose timeline consistency is acceptable in general.

> support read from metadata replica regions
> ------------------------------------------
>
>                 Key: KYLIN-1620
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1620
>             Project: Kylin
>          Issue Type: Sub-task
>            Reporter: yunjiong zhao
>            Assignee: yunjiong zhao
>         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
(v6.3.4#6332)