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 0B17A200BA6 for ; Tue, 13 Sep 2016 02:54:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 09961160AB8; Tue, 13 Sep 2016 00:54:26 +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 58BCB160AC8 for ; Tue, 13 Sep 2016 02:54:25 +0200 (CEST) Received: (qmail 30701 invoked by uid 500); 13 Sep 2016 00:54:24 -0000 Mailing-List: contact commits-help@helix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@helix.apache.org Delivered-To: mailing list commits@helix.apache.org Received: (qmail 30692 invoked by uid 99); 13 Sep 2016 00:54:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2016 00:54:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 27CCA1A7301 for ; Tue, 13 Sep 2016 00:54:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Q7y9kdEggLk0 for ; Tue, 13 Sep 2016 00:54:23 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id A8AF960D1F for ; Tue, 13 Sep 2016 00:54:22 +0000 (UTC) Received: (qmail 30609 invoked by uid 99); 13 Sep 2016 00:54:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2016 00:54:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7BB662C1B7B for ; Tue, 13 Sep 2016 00:54:21 +0000 (UTC) Date: Tue, 13 Sep 2016 00:54:21 +0000 (UTC) From: "Lei Xia (JIRA)" To: commits@helix.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (HELIX-633) AutoRebalancer should ignore disabled instance and all partitions on disabled instances should be dropped in FULL_AUTO rebalance mode. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 13 Sep 2016 00:54:26 -0000 [ https://issues.apache.org/jira/browse/HELIX-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lei Xia closed HELIX-633. ------------------------- Resolution: Fixed > AutoRebalancer should ignore disabled instance and all partitions on disabled instances should be dropped in FULL_AUTO rebalance mode. > -------------------------------------------------------------------------------------------------------------------------------------- > > Key: HELIX-633 > URL: https://issues.apache.org/jira/browse/HELIX-633 > Project: Apache Helix > Issue Type: Bug > Reporter: Lei Xia > Assignee: Lei Xia > > Now, if a node is disabled in cluster but stays to appear in LIVEINSTANCES. > Helix AutoRebalancer still assign partitions on the disabled node, but not sending state transition messages to the node. So all partitions which belonged to that node disappeared from EV. > The right behavior is that AutoRebalancer should ignore the > disabled node or the node should disappear from live instances. > After this fix, in Helix Full-Auto rebalance mode, if an instance is disabled from its config, no matter it is live or not, the partitions on the disabled node will be transferred to DROPPED state, and the partitions will be redistributed to all other live and enabled instances. -- This message was sent by Atlassian JIRA (v6.3.4#6332)