You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2020/04/02 22:12:44 UTC

[GitHub] [cassandra] jonmeredith opened a new pull request #514: CASSANDRA-15688 Invalid cdc_raw_directory prevents server startup

jonmeredith opened a new pull request #514: CASSANDRA-15688 Invalid cdc_raw_directory prevents server startup
URL: https://github.com/apache/cassandra/pull/514
 
 
   If cdc_raw_directory is set to an invalid directory it prevents startup of the server even when `cdc_enabled` is set false.
   
   The directory can either be set directly by the cdc_raw_directory setting in configuration YAML or indirectly via the `cassandra.storage_dir` system property, which is how I encountered it.
   
   Easy to reproduce by setting cdc_raw_directory to notadir/notasubdir
   Additionally while investigating, discovered that `DatabaseDescriptor.guessFileStore` can cause a `NullPointerException` if it runs out of parent elements
   before it can get a `FileStore`. It should provide a more useful `ConfigurationException` providing details on the problematic path. `guessFileStore` is used for checks on `commitlog_directory`, `cdc_raw_directory` and `data_file_directories`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org