Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 29A1B200BD4 for ; Wed, 16 Nov 2016 15:56:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 27E4B160B17; Wed, 16 Nov 2016 14:56:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6F06B160B03 for ; Wed, 16 Nov 2016 15:56:00 +0100 (CET) Received: (qmail 8060 invoked by uid 500); 16 Nov 2016 14:55:58 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 7836 invoked by uid 99); 16 Nov 2016 14:55:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2016 14:55:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9BBBE2C4C72 for ; Wed, 16 Nov 2016 14:55:58 +0000 (UTC) Date: Wed, 16 Nov 2016 14:55:58 +0000 (UTC) From: "Phil Yang (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-17112) Prevent setting timestamp of delta operations being same as previous value's MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 16 Nov 2016 14:56:01 -0000 Phil Yang created HBASE-17112: --------------------------------- Summary: Prevent setting timestamp of delta operations being same as previous value's Key: HBASE-17112 URL: https://issues.apache.org/jira/browse/HBASE-17112 Project: HBase Issue Type: Bug Reporter: Phil Yang Assignee: Phil Yang In delta operations, Increment and Append. We will read current value first and then write the new whole result into WAL as the type of Put with current timestamp. If the previous ts is larger than current ts, we will use the previous ts. If we have two Puts with same TS, we will ignore the Put with lower sequence id. It is not friendly with versioning. And for replication we will drop sequence id while writing to peer cluster so in the slave we don't know what the order they are being written. If the pushing is disordered, the result will be wrong. -- This message was sent by Atlassian JIRA (v6.3.4#6332)