Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73263188D1 for ; Wed, 16 Dec 2015 17:20:47 +0000 (UTC) Received: (qmail 65171 invoked by uid 500); 16 Dec 2015 17:20:47 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 65125 invoked by uid 500); 16 Dec 2015 17:20:47 -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 64819 invoked by uid 99); 16 Dec 2015 17:20:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2015 17:20:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B2E3B2C1F70 for ; Wed, 16 Dec 2015 17:20:46 +0000 (UTC) Date: Wed, 16 Dec 2015 17:20:46 +0000 (UTC) From: "Paulo Motta (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10580) Add latency metrics for dropped messages 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/CASSANDRA-10580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15060340#comment-15060340 ] Paulo Motta commented on CASSANDRA-10580: ----------------------------------------- bq. can you please confirm if that's what everyone follows ? You're generating patch correctly. I suspect you're not on the correct branch. Is your cassandra-2.2 head b03ce9fd479d3da9c51d118c50480ea96df0d73e ? If not, you need to synchronize your git repo with https://github.com/apache/cassandra.git and checkout the latest cassandra-2.2 branch, and build your patch on the top of it. bq. About the tests, I don't think the failures are related to my change. Are those failures expected ? I think they are unrelated too, they're in pair with main branch failures: http://cassci.datastax.com/view/trunk/ > Add latency metrics for dropped messages > ---------------------------------------- > > Key: CASSANDRA-10580 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10580 > Project: Cassandra > Issue Type: Improvement > Components: Coordination, Observability > Environment: Production > Reporter: Anubhav Kale > Assignee: Anubhav Kale > Priority: Minor > Fix For: 3.2, 2.2.x > > Attachments: 0001-Metrics.patch, 10580-Metrics.patch, 10580.patch, 2.2-All-Comments.patch, CASSANDRA-10580-Head.patch, Trunk-All-Comments.patch, Trunk.patch > > > In our production cluster, we are seeing a large number of dropped mutations. At a minimum, we should print the time the thread took to get scheduled thereby dropping the mutation (We should also print the Message / Mutation so it helps in figuring out which column family was affected). This will help find the right tuning parameter for write_timeout_in_ms. > The change is small and is in StorageProxy.java and MessagingTask.java. I will submit a patch shortly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)