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 0C1AB100A8 for ; Tue, 25 Nov 2014 20:57:13 +0000 (UTC) Received: (qmail 33435 invoked by uid 500); 25 Nov 2014 20:57:12 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 33355 invoked by uid 500); 25 Nov 2014 20:57:12 -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 33154 invoked by uid 99); 25 Nov 2014 20:57:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2014 20:57:12 +0000 Date: Tue, 25 Nov 2014 20:57:12 +0000 (UTC) From: "Adam Holmberg (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-8373) MOVED_NODE Topology Change event is never emitted 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-8373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Holmberg updated CASSANDRA-8373: ------------------------------------- Attachment: 8373.txt Attached patch 8373.txt captures moving status before calling updateNormalTokens. > MOVED_NODE Topology Change event is never emitted > ------------------------------------------------- > > Key: CASSANDRA-8373 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8373 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Adam Holmberg > Priority: Minor > Attachments: 8373.txt > > > lifeCycleSubscribers.onMove never gets called because [this tokenMetadata.updateNormalTokens|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/service/StorageService.java#L1585] call [changes the endpoint moving status|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/locator/TokenMetadata.java#L190], making the later isMoving conditional always false. -- This message was sent by Atlassian JIRA (v6.3.4#6332)