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 56F3018754 for ; Fri, 30 Oct 2015 09:50:28 +0000 (UTC) Received: (qmail 11311 invoked by uid 500); 30 Oct 2015 09:50:28 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 11107 invoked by uid 500); 30 Oct 2015 09:50:28 -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 11082 invoked by uid 99); 30 Oct 2015 09:50:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 09:50:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CA40A2C1F5A for ; Fri, 30 Oct 2015 09:50:27 +0000 (UTC) Date: Fri, 30 Oct 2015 09:50:27 +0000 (UTC) From: "Branimir Lambov (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9223) ArithmeticException after decommission 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-9223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982254#comment-14982254 ] Branimir Lambov commented on CASSANDRA-9223: -------------------------------------------- Patch uploaded [here|https://github.com/blambov/cassandra/tree/9223]. Cancels batchlog replay cycle if the storage service doesn't know about any nodes and adds a unit test. > ArithmeticException after decommission > -------------------------------------- > > Key: CASSANDRA-9223 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9223 > Project: Cassandra > Issue Type: Bug > Reporter: Brandon Williams > Assignee: Branimir Lambov > Priority: Minor > Fix For: 3.1 > > > Also seen on trunk while working on CASSANDRA-8072: > {noformat} > ERROR 19:21:33 Exception in thread Thread[BatchlogTasks:1,5,main] > java.lang.ArithmeticException: / by zero > at org.apache.cassandra.db.BatchlogManager.replayAllFailedBatches(BatchlogManager.java:173) ~[main/:na] > at org.apache.cassandra.db.BatchlogManager.access$000(BatchlogManager.java:61) ~[main/:na] > at org.apache.cassandra.db.BatchlogManager$1.runMayThrow(BatchlogManager.java:91) ~[main/:na] > at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[main/:na] > at org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor$UncomplainingRunnable.run(DebuggableScheduledThreadPoolExecutor.java:82) ~[main/:na] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_76] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_76] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_76] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_76] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_76] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_76] > at java.lang.Thread.run(Thread.java:745) [na:1.7.0_76] > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)