[
https://issues.apache.org/jira/browse/HBASE-13367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390536#comment-14390536
]
Liu Shaohui commented on HBASE-13367:
-------------------------------------
[~stack]
{quote}
Do you mean adding a label on the Mutation itself? Or do you mean adding a tag?
What label have?
{quote}
I was thinking just add an attribute in the Mutation.
{quote}
'true' if edit was via replication or would it list src cluster ids?
{quote}
Yes, we can just use the number of cluster ids to check if the mutations are
from replication.
Thanks, [~stack]
> Add a replication label to mutations from replication
> -----------------------------------------------------
>
> Key: HBASE-13367
> URL: https://issues.apache.org/jira/browse/HBASE-13367
> Project: HBase
> Issue Type: Improvement
> Reporter: Liu Shaohui
> Assignee: Liu Shaohui
>
> In some scenarios, the regions need to distinguish the mutations from client
> for actual users or from replication of peer cluster.
> - Lower the priority of mutations from replication to improve the latency of
> requests from actuals users
> - Set table in replicated state to keep data consistent. In this state, the
> table will reject mutations from users, but accept mutations from replication
> and read requests from users.
> So we need to add a replication label to mutations from replication.
> Suggestions and discussions are welcomed. Thanks
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)