From issues-return-30408-archive-asf-public=cust-asf.ponee.io@geode.apache.org Thu Feb 1 23:53:52 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 0140C180652 for ; Thu, 1 Feb 2018 23:53:52 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E5234160C57; Thu, 1 Feb 2018 22:53:51 +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 395E1160C35 for ; Thu, 1 Feb 2018 23:53:51 +0100 (CET) Received: (qmail 62498 invoked by uid 500); 1 Feb 2018 22:53:06 -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 62434 invoked by uid 99); 1 Feb 2018 22:53:06 -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; Thu, 01 Feb 2018 22:53:06 +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 A854A107970 for ; Thu, 1 Feb 2018 22:53:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.011 X-Spam-Level: X-Spam-Status: No, score=-109.011 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, 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 eSQfIJL2zh43 for ; Thu, 1 Feb 2018 22:53:06 +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 5D3EC5FDF8 for ; Thu, 1 Feb 2018 22:52:54 +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 58297E0332 for ; Thu, 1 Feb 2018 22:52:53 +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 D049F24224 for ; Thu, 1 Feb 2018 22:52:52 +0000 (UTC) Date: Thu, 1 Feb 2018 22:52:52 +0000 (UTC) From: "Swapnil Bawaskar (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (GEODE-4176) locator creates "locator0view.dat" file when started with port 0 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/GEODE-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Swapnil Bawaskar closed GEODE-4176. ----------------------------------- > locator creates "locator0view.dat" file when started with port 0 > ---------------------------------------------------------------- > > Key: GEODE-4176 > URL: https://issues.apache.org/jira/browse/GEODE-4176 > Project: Geode > Issue Type: Bug > Components: membership, tests > Reporter: Bruce Schuchardt > Assignee: Bruce Schuchardt > Priority: Major > Fix For: 1.4.0 > > > The locator was modified some time ago to allow unit tests to start it with port 0 so that it will do a wildcard bind. When that was done the startup sequence wasn't changed to allow the peer-to-peer TcpHandler to know the bound port number & so it creates its persistent view file with port 0 instead of the bound port number. It's possible that if such a file is left around a subsequent test that starts a locator with port 0 will pick up an old locator0view.dat file and attempt to join a distributed system that no longer exists. > The startup sequence needs to be modified to allow the handlers to know the bound port number when they are initialized. -- This message was sent by Atlassian JIRA (v7.6.3#76005)