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

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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment