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 6600B200BC3 for ; Fri, 18 Nov 2016 16:22:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6484F160B16; Fri, 18 Nov 2016 15:22: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 AF3D1160AFE for ; Fri, 18 Nov 2016 16:22:00 +0100 (CET) Received: (qmail 38214 invoked by uid 500); 18 Nov 2016 15:21:59 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 38203 invoked by uid 99); 18 Nov 2016 15:21:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2016 15:21:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BEA592C2B10 for ; Fri, 18 Nov 2016 15:21:59 +0000 (UTC) Date: Fri, 18 Nov 2016 15:21:59 +0000 (UTC) From: "Benjamin Lerer (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-11307) Inappropriate WARN log message for commit log sync delay when using commitlog_sync: batch MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 18 Nov 2016 15:22:01 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-11307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Lerer updated CASSANDRA-11307: --------------------------------------- Assignee: (was: Benjamin Lerer) > Inappropriate WARN log message for commit log sync delay when using commitlog_sync: batch > ----------------------------------------------------------------------------------------- > > Key: CASSANDRA-11307 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11307 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: Linux > Reporter: Gary Ogasawara > Priority: Minor > > In v2.1.11 when using configuration > commitlog_sync: batch > commitlog_sync_batch_window_in_ms: 2 > will frequently get this WARN log though there is not a real problem. > WARN [COMMIT-LOG-WRITER] 2016-03-03 00:40:11,646 AbstractCommitLogService.java:105 - Out of 142412 commit log syncs over the past 300s with average duration of 0.00ms, 35 have exceeded the configured commit interval by an average of 3.66ms > WARN [COMMIT-LOG-WRITER] 2016-03-03 00:45:11,755 AbstractCommitLogService.java:105 - Out of 104605 commit log syncs over the past 300s with average duration of 1.74ms, 18314 have exceeded the configured commit interval by an average of 6.33ms > Looks like BatchCommitLogService sets AbstractCommitLogService() pollIntervalMillis to the configured commitlog_sync_batch_window_in_ms. Since CASSANDRA-9504, this is by default set to 2 which causes this WARN message to be triggered unnecessarily. -- This message was sent by Atlassian JIRA (v6.3.4#6332)