[ https://issues.apache.org/jira/browse/CASSANDRA-15356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Capwell updated CASSANDRA-15356: -------------------------------------- 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. was: 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. > CassandraEntireSSTableStreamWriter throws IOException rather than FSError for > disk issues so doesn't get handled by disk failing policy > --------------------------------------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-15356 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15356 > Project: Cassandra > Issue Type: Bug > Components: Consistency/Streaming > Reporter: David Capwell > Priority: Normal > > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org