You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Josh McKenzie (Jira)" <ji...@apache.org> on 2021/09/02 16:55:00 UTC

[jira] [Updated] (CASSANDRA-16879) Verify correct ownership of attached locations on disk at C* startup

     [ https://issues.apache.org/jira/browse/CASSANDRA-16879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh McKenzie updated CASSANDRA-16879:
--------------------------------------
    Status: Patch Available  (was: Review In Progress)

Talked to Caleb about this a bit offline; going to loosen up the configuration hierarchy for this so it's not so prescriptive on the deployment structure for things.

> Verify correct ownership of attached locations on disk at C* startup
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-16879
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16879
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Startup and Shutdown
>            Reporter: Josh McKenzie
>            Assignee: Josh McKenzie
>            Priority: Normal
>             Fix For: 4.x
>
>
> There's two primary things related to startup and disk ownership we should mitigate.
> First, an instance can come up with an incorrectly mounted volume attached as its configured data directory. This causes the wrong system tables to be read. If the instance which was previously using the volume is also down, its token could be taken over by the instance coming up.
> Secondly, in a JBOD setup, the non-system keyspaces may reside on a separate volume to the system tables. In this scenario, we need to ensure that all directories belong to the same instance, and that as the instance starts up it can access all the directories it expects to be able to. (including data, commit log, hints and saved cache dirs)
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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