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 B916A200CB5 for ; Tue, 27 Jun 2017 20:52:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B74E2160BE9; Tue, 27 Jun 2017 18:52:04 +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 08435160BD8 for ; Tue, 27 Jun 2017 20:52:03 +0200 (CEST) Received: (qmail 44182 invoked by uid 500); 27 Jun 2017 18:52:03 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 44116 invoked by uid 99); 27 Jun 2017 18:52:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2017 18:52:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id ADF66C0E70 for ; Tue, 27 Jun 2017 18:52:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id zdhKcAoDfuOo for ; Tue, 27 Jun 2017 18:52:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 50D2F5F2AE for ; Tue, 27 Jun 2017 18:52:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DCEE0E0DBC for ; Tue, 27 Jun 2017 18:52:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3B4C924139 for ; Tue, 27 Jun 2017 18:52:00 +0000 (UTC) Date: Tue, 27 Jun 2017 18:52:00 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-2804) Allow a locator host to be taken off line and replaced with a different machine having the same host name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 27 Jun 2017 18:52:04 -0000 [ https://issues.apache.org/jira/browse/GEODE-2804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065290#comment-16065290 ] ASF subversion and git services commented on GEODE-2804: -------------------------------------------------------- Commit 5c60b9696fdb42426c4df8f7ca78599fcb872cc0 in geode's branch refs/heads/feature/GEODE-2804 from [~hitesh.khamesra] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=5c60b96 ] GEODE-2804 Caching the InetAddress for configured ip string 1. We keep configure host string in HostAddress class 2. We reuse InetsocketAddress if it is ipString. 3. Client has logic to retry thus we keep InetsocketAddress even if it is not ip string. GEODE-3017 IPv6 issue on windows. Above changes fixed this issue. GEODE-2940 Now we don't validate configure host string on start. As there is possibility that host may not available. 1. Earlier wan config were failing because of that. Now we just keep those configure host string. And try this later. Added unit tests for it. > Allow a locator host to be taken off line and replaced with a different machine having the same host name > --------------------------------------------------------------------------------------------------------- > > Key: GEODE-2804 > URL: https://issues.apache.org/jira/browse/GEODE-2804 > Project: Geode > Issue Type: Improvement > Components: client/server, membership, native client > Affects Versions: 1.1.1 > Reporter: Bruce Schuchardt > Assignee: Hitesh Khamesra > > It is not unlikely that in a long-running system a machine hosting a locator will break down and need to be replace, or that a virtual machine hosting a locator will be stopped and restarted. In either case the machine may have a different IP address. > Clients and servers currently cache the IP address of a locator and should be changed to re-resolve the host name if the address stops being usable. > Servers currently cannot be started if they are given a host name that can not be resolved. They should be changed to allow this and start up if they are able to contact one or more of the other locators in their "locators" setting. -- This message was sent by Atlassian JIRA (v6.4.14#64029)