Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B1D1107D9 for ; Thu, 27 Mar 2014 16:39:35 +0000 (UTC) Received: (qmail 30098 invoked by uid 500); 27 Mar 2014 16:39:29 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 29927 invoked by uid 500); 27 Mar 2014 16:39:24 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 29851 invoked by uid 99); 27 Mar 2014 16:39:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 16:39:22 +0000 Date: Thu, 27 Mar 2014 16:39:22 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2520) Garbage collector deleted everything when given bad input 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/ACCUMULO-2520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949549#comment-13949549 ] ASF subversion and git services commented on ACCUMULO-2520: ----------------------------------------------------------- Commit 461910148732e952131548ec7bbebb22dd79c8b8 in accumulo's branch refs/heads/1.5.2-SNAPSHOT from [~keith_turner] [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=4619101 ] ACCUMULO-2520 change new log message about invalid delets from err to warn > Garbage collector deleted everything when given bad input > --------------------------------------------------------- > > Key: ACCUMULO-2520 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2520 > Project: Accumulo > Issue Type: Bug > Affects Versions: 1.4.0 > Reporter: Keith Turner > Assignee: Keith Turner > Priority: Critical > Fix For: 1.4.5, 1.5.2, 1.6.0 > > > Patch v3 of the upgrade from ACCUMULO-2145 had a test that did the following before upgrade. > {noformat} > root@testUp> table !METADATA > root@testUp !METADATA> grant Table.WRITE -u root > root@testUp !METADATA> insert ~del testDel test valueTest > {noformat} > This is a malformed delete entry. Accumulo code should not delete such entries. When the 1.5.1 garbage collector saw this it did the following. > {noformat} > 2014-03-20 18:20:05,359 [gc.SimpleGarbageCollector] DEBUG: Deleting /accumuloTest/tables > 2014-03-20 18:20:05,359 [gc.SimpleGarbageCollector] DEBUG: Deleting /accumuloTest/tables/!0/default_tablet/F0000009.rf > 2014-03-20 18:20:05,360 [gc.SimpleGarbageCollector] DEBUG: Deleting /accumuloTest/tables/!0/table_info/F000000b.rf > {noformat} > GC should validate that delete entries are paths of the expected length. I have confirmed this bug exist in 1.5.1. I am assuming it exist in 1.4 and 1.6 branches. -- This message was sent by Atlassian JIRA (v6.2#6252)