cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua McKenzie (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10524) Add ability to skip TIME_WAIT sockets on port check on Windows startup
Date Fri, 16 Oct 2015 16:25:05 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-10524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joshua McKenzie updated CASSANDRA-10524:
----------------------------------------
    Attachment: 10524_v2.txt

Attaching v2. Skips VerifyPorts check entirely if -a is passed in.

> 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)

Mime
View raw message