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

Python DTest does not release CQL connections, which can cause containers to hang for 2 hours trying to connect to a server thats already gone

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • NA
    • Test/dtest/python
    • None

    Description

      While debugging why upgrade tests were taking 2 hours we noticed that the test completed 2 hours early… yet the process did not exit and was logging cassandra.pool trying to connect to a cluster (but python dtest already cleaned it up)…

      After investigating the code I saw that we create connections and store them in an array, but only 2 tests actually clean up!

      Attachments

        Issue Links

          Activity

            People

              dcapwell David Capwell
              dcapwell David Capwell
              David Capwell
              Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: