[ 
https://issues.apache.org/jira/browse/CASSANDRA-15332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16951444#comment-16951444
 ] 

David Capwell commented on CASSANDRA-15332:
-------------------------------------------

Can find my patch here: 
[https://github.com/dcapwell/cassandra/tree/repairCorruption] (diff to trunk: 
[https://github.com/apache/cassandra/compare/trunk...dcapwell:repairCorruption)]
 

Changes:

1) JVMStabilityInspector checks for corruption or FSError and delegates to 
FileUtils for handling

2) FileUtils now implements the die behavior

3) JVMStabilityInspector now walks suppressed exceptions as well as the caused 
exception (edge case not in streaming where the second exception is fserror or 
corruption, so just added since saw suppression was common)

4) dtest updated to keep track of the number of kill attempts (though does not 
kill, mostly so tests can reuse the cluster)

> When building MerkleTrees if a CorruptSSTableException is thrown the 
> DiskFailurePolicy does not get applied
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15332
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15332
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Consistency/Repair
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>
> When a repair is in the validation phase and is building MerkleTrees, if a 
> corrupt SSTable exception is thrown the disk failure policy does not get 
> applied



--
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

Reply via email to