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

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0.0
    • Packaging

    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

            JoshuaMcKenzie Joshua McKenzie
            JoshuaMcKenzie Joshua McKenzie
            Joshua McKenzie
            Philip Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: