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

die disk failure policy will not kill jvm as documented

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              curlylrt Runtian Liu
              curlylrt Runtian Liu
              Runtian Liu
              Brandon Williams, Maxwell Guo, Stefan Miklosovic
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m