Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10524

Add ability to skip TIME_WAIT sockets on port check on Windows startup

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 3.0.0
    • Component/s: Packaging
    • Labels:

      Description

      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.

        Attachments

        1. win_aggressive_startup.txt
          2 kB
          Joshua McKenzie
        2. 10524_v2.txt
          1 kB
          Joshua McKenzie

          Activity

            People

            • Assignee:
              JoshuaMcKenzie Joshua McKenzie
              Reporter:
              JoshuaMcKenzie Joshua McKenzie
              Authors:
              Joshua McKenzie
              Reviewers:
              Philip Thompson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: