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

CqlRecordWriter does not adequately determine if driver failed to connect due to interrupt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.2.0 rc1
    • None
    • None

    Description

      Until https://datastax-oss.atlassian.net/browse/JAVA-769 is implemented, I have had to implement a workaround.

      Java's thread interrupt status flag can be cleared for any number of reasons. After discussion, I've changed to parsing the driver's DriverException to tell if we are safe to retry the failed connection.

      Attachments

        1. 9419.txt
          2 kB
          Philip Thompson

        Issue Links

          Activity

            People

              philipthompson Philip Thompson
              philipthompson Philip Thompson
              Philip Thompson
              Sam Tunnicliffe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: