Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C303417AD4 for ; Wed, 1 Apr 2015 13:25:54 +0000 (UTC) Received: (qmail 4378 invoked by uid 500); 1 Apr 2015 13:25:54 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 4332 invoked by uid 500); 1 Apr 2015 13:25:54 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 4320 invoked by uid 99); 1 Apr 2015 13:25:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2015 13:25:54 +0000 Date: Wed, 1 Apr 2015 13:25:54 +0000 (UTC) From: "Liu Shaohui (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13367) Add a replication label to mutations from replication MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)