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 14B0B101E8 for ; Mon, 9 Feb 2015 22:26:35 +0000 (UTC) Received: (qmail 23290 invoked by uid 500); 9 Feb 2015 22:26:35 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 23254 invoked by uid 500); 9 Feb 2015 22:26:34 -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 23240 invoked by uid 99); 9 Feb 2015 22:26:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2015 22:26:34 +0000 Date: Mon, 9 Feb 2015 22:26:34 +0000 (UTC) From: "Eric Newton (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-3423) speed up WAL roll-overs 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-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313013#comment-14313013 ] Eric Newton commented on ACCUMULO-3423: --------------------------------------- Have all the ITs working now, except those related to replication. I talked to [~elserj] about the changes necessary. * the tablet server or master should inform replication when a WAL is closed * the GC should defer deleting WALs in use by replication * the tablet server should just let the GC clean up WALs > speed up WAL roll-overs > ----------------------- > > Key: ACCUMULO-3423 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3423 > Project: Accumulo > Issue Type: Bug > Components: master, tserver > Reporter: Eric Newton > Assignee: Eric Newton > > After reading the proposal on HBASE-10278, I realized there are many ways to make the Accumulo WAL roll-over faster. > # Open two WALogs, but use only one until it reaches the WALog roll-over size > # Rollover consists only of swapping the writers > # WALog roll consists of the final close, which can happen in parallel > # Don't mark the tablets with log entries: they are already marked with the tserver > # The tserver can make notes about the logs-in-use in the metadata table(s) as part of opening the log. > # The master can copy the log entries to tablets while unassigning them, piggybacking on the unassigment mutation. > # Tablet servers can remove their current log entries from the metadata tables when they have no tablets using them. > There are two issues: > # tablets will have an empty file in recovery, nearly all the time, but the recovery code already handles that case. > # presently, a tablet doesn't have a marker for a log it did not use. Many more tablets will attempt to recover when it is unnecessary. > This would also address ACCUMULO-2889. -- This message was sent by Atlassian JIRA (v6.3.4#6332)