[
https://issues.apache.org/jira/browse/CASSANDRA-15191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Miklosovic updated CASSANDRA-15191:
------------------------------------------
Description:
There is a bug when disk_failure_policy is set to stop_paranoid and
CorruptSSTableException is thrown after server is up. The problem is that this
setting is ignored. Normally, it should stop gossip and transport but it just
continues to serve requests and an exception is just logged.
This patch unifies the exception handling in JVMStabilityInspector and code is
reworked in such way that this inspector acts as a central place where such
exceptions are inspected.
Behaviour before:
stop_paranoid of disk_failure_policy is ignored when CorruptSSTableException is
thrown, e.g. on a regular select statement
Behaviour after:
Gossip and transport (cql) is turned off, JVM is still up for further
investigation e.g. by jmx.
was:
If the {{stop_paranoid}} disk failure policy is triggered during startup (for
example by a compaction) before the node reaches CassandraDaemon.start(),
CassandraDaemon.start() will start the client transport services and start
listening for client connections regardless of the previous corrupt sstable
exception.
> stop_paranoid disk failure policy is ignored on CorruptSSTableException after
> node is up
> ----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-15191
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15191
> Project: Cassandra
> Issue Type: Bug
> Reporter: Vincent White
> Priority: Normal
> Attachments: log.txt
>
>
> There is a bug when disk_failure_policy is set to stop_paranoid and
> CorruptSSTableException is thrown after server is up. The problem is that
> this setting is ignored. Normally, it should stop gossip and transport but it
> just continues to serve requests and an exception is just logged.
>
> This patch unifies the exception handling in JVMStabilityInspector and code
> is reworked in such way that this inspector acts as a central place where
> such exceptions are inspected.
>
> Behaviour before:
> stop_paranoid of disk_failure_policy is ignored when CorruptSSTableException
> is thrown, e.g. on a regular select statement
> Behaviour after:
> Gossip and transport (cql) is turned off, JVM is still up for further
> investigation e.g. by jmx.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]