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 7EC23E3BC for ; Wed, 29 May 2013 22:52:21 +0000 (UTC) Received: (qmail 53790 invoked by uid 500); 29 May 2013 22:52:21 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 53763 invoked by uid 500); 29 May 2013 22:52:21 -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 53752 invoked by uid 99); 29 May 2013 22:52:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 May 2013 22:52:21 +0000 Date: Wed, 29 May 2013 22:52:21 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8626) RowMutations fail when Delete and Put on same columnFamily/column/row 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-8626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13669844#comment-13669844 ] Andrew Purtell commented on HBASE-8626: --------------------------------------- I don't follow Ted. The more I read the less it makes sense. There's already a -1 here. Lets resolve as invalid. I'll add a -1 here too. > RowMutations fail when Delete and Put on same columnFamily/column/row > --------------------------------------------------------------------- > > Key: HBASE-8626 > URL: https://issues.apache.org/jira/browse/HBASE-8626 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.94.7, 0.95.0 > Environment: Ubuntu 12.04, HBase 0.94.7 > Reporter: Vinod > Assignee: Ted Yu > Fix For: 0.95.1 > > Attachments: 8626-v1.txt, TestRowMutations.java, tests_for_row_mutations1.patch > > > When RowMutations have a Delete followed by Put to same column family or columns or rows, only the Delete is happening while the Put is ignored so atomicity of RowMutations is broken for such cases. > Attached is a unit test where the following tests are failing: > - testDeleteCFThenPutInSameCF: Delete a column family and then Put to same column family. > - testDeleteColumnThenPutSameColumn: Delete a column and then Put to same column. > - testDeleteRowThenPutSameRow: Delete a row and then Put to same row -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira