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 76635200B4E for ; Sun, 19 Jun 2016 08:23:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 75216160A50; Sun, 19 Jun 2016 06:23:07 +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 C2A5F160A66 for ; Sun, 19 Jun 2016 08:23:06 +0200 (CEST) Received: (qmail 96684 invoked by uid 500); 19 Jun 2016 06:23:05 -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 96517 invoked by uid 99); 19 Jun 2016 06:23:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jun 2016 06:23:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 737382C14F8 for ; Sun, 19 Jun 2016 06:23:05 +0000 (UTC) Date: Sun, 19 Jun 2016 06:23:05 +0000 (UTC) From: "Tianying Chang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16030) All Regions are flushed at about same time when MEMSTORE_PERIODIC_FLUSH is on, causing flush spike MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 19 Jun 2016 06:23:07 -0000 [ https://issues.apache.org/jira/browse/HBASE-16030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338403#comment-15338403 ] Tianying Chang commented on HBASE-16030: ---------------------------------------- [~enis] attached a new patch which simply make the jitter value configurable and with larger default value. > All Regions are flushed at about same time when MEMSTORE_PERIODIC_FLUSH is on, causing flush spike > -------------------------------------------------------------------------------------------------- > > Key: HBASE-16030 > URL: https://issues.apache.org/jira/browse/HBASE-16030 > Project: HBase > Issue Type: Improvement > Affects Versions: 1.2.1 > Reporter: Tianying Chang > Assignee: Tianying Chang > Fix For: 2.0.0, 1.4.0, 1.3.1, 1.2.3 > > Attachments: Screen Shot 2016-06-15 at 11.35.42 PM.png, Screen Shot 2016-06-15 at 11.52.38 PM.png, hbase-16030-v2.patch, hbase-16030.patch > > > In our production cluster, we observed that memstore flush spike every hour for all regions/RS. (we use the default memstore periodic flush time of 1 hour). > This will happend when two conditions are met: > 1. the memstore does not have enough data to be flushed before 1 hour limit reached; > 2. all regions are opened around the same time, (e.g. all RS are started at the same time when start a cluster). > With above two conditions, all the regions will be flushed around the same time at: startTime+1hour-delay again and again. > We added a flush jittering time to randomize the flush time of each region, so that they don't get flushed at around the same time. We had this feature running in our 94.7 and 94.26 cluster. Recently, we upgrade to 1.2, found this issue still there in 1.2. So we are porting this into 1.2 branch. -- This message was sent by Atlassian JIRA (v6.3.4#6332)