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

Runtian Liu commented on CASSANDRA-18294:
-----------------------------------------

The error is
{code:java}
j.lang.IllegalStateException: null at 
o.a.c.s.DefaultFSErrorHandler.handleFSError(DefaultFSErrorHandler.java:88) at 
o.a.c.io.util.FileUtils.handleFSError(FileUtils.java:499) at 
o.a.c.u.JVMStabilityInspector.inspectDiskError(JVMStabilityInspector.java:73) 
at 
o.a.c.u.JVMStabilityInspector.inspectThrowable(JVMStabilityInspector.java:111) 
at 
o.a.c.u.JVMStabilityInspector.inspectThrowable(JVMStabilityInspector.java:60) 
at o.a.c.d.ColumnFamilyStore$Flush.run(ColumnFamilyStore.java:1104) at 
j.u.c.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at 
j.u.c.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at 
o.a.c.c.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:83)
 at i.n.u.c.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at 
java.lang.Thread.run(Thread.java:748)  {code}
We are running Cassandra with policy die but the Cassandra java process is not 
shutting down after this error.

> die disk failure policy will not kill jvm as documented
> -------------------------------------------------------
>
>                 Key: CASSANDRA-18294
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18294
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local/Config
>            Reporter: Runtian Liu
>            Assignee: Runtian Liu
>            Priority: Normal
>
> After Cassandra has successfully starts up with disk_failure_policy die, when 
> encounter a file system error, Cassandra server will only throw exception 
> instead of shut down gossip and client transport and kill JVM. Document: 
> [https://cassandra.apache.org/doc/latest/cassandra/configuration/cass_yaml_file.html#disk_failure_policy]
>  
> The reason for this is the default FS error handler is not handing policy die 
> correctly. Instead of shutting down gossip and native transport, it throws an 
> error.
>  
> The JVMStabilityInspectorTest is passing because the error handler is not set 
> so no exception is thrown.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to