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

CassandraEntireSSTableStreamWriter throws IOException rather than FSError for disk issues so doesn't get handled by disk failing policy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • None
    • Consistency/Streaming
    • None
    • All
    • None

    Description

      Found while testing CASSANDRA-15332

      Streaming relies on the CassandraDaemon's setup of Thread.setDefaultUncaughtExceptionHandler for the disk failure policy, which relies on FSError being thrown; org.apache.cassandra.db.streaming.CassandraEntireSSTableStreamWriter doesn't re-throw IOExceptions as FSError, so this path won't properly handle the disk failure policy.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dcapwell David Capwell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: