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 E390317EE6 for ; Fri, 16 Oct 2015 16:42:06 +0000 (UTC) Received: (qmail 25780 invoked by uid 500); 16 Oct 2015 16:42:06 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 25703 invoked by uid 500); 16 Oct 2015 16:42:06 -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 25459 invoked by uid 99); 16 Oct 2015 16:42:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2015 16:42:06 +0000 Date: Fri, 16 Oct 2015 16:42:06 +0000 (UTC) From: "Philip Thompson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10524) Add ability to skip TIME_WAIT sockets on port check on Windows startup 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-10524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960986#comment-14960986 ] Philip Thompson commented on CASSANDRA-10524: --------------------------------------------- I'm +1 on the code. [~andrew.tolbert]? > Add ability to skip TIME_WAIT sockets on port check on Windows startup > ---------------------------------------------------------------------- > > Key: CASSANDRA-10524 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10524 > Project: Cassandra > Issue Type: Improvement > Reporter: Joshua McKenzie > Assignee: Joshua McKenzie > Priority: Trivial > Labels: Windows > Fix For: 3.0.0 rc2, 2.2.4 > > Attachments: 10524_v2.txt, win_aggressive_startup.txt > > > C* sockets are often staying TIME_WAIT for up to 120 seconds (2x max segment lifetime) for me in my dev environment on Windows. This is rather obnoxious since it means I can't launch C* for up to 2 minutes after stopping it. > Attaching a patch that adds a simple -a for aggressive startup to the launch scripts to ignore duplicate port check from netstat if it's TIME_WAIT. Also snuck in some more liberal interpretation of help strings in the .ps1. -- This message was sent by Atlassian JIRA (v6.3.4#6332)