k8ssandra / k8ssandra-operator

The Kubernetes operator for K8ssandra
https://k8ssandra.io/
Apache License 2.0
174 stars 79 forks source link

Use different volumes for k8ssandra commit logs and data directories #552

Open uchiha-pain opened 2 years ago

uchiha-pain commented 2 years ago

What is missing? When working in k8ssandra, we are not able to mount commit logs and data directories in separate volumes.

Why do we need it? As stated in Cassandra documentation we need it because For optimal write performance, place the commit log be on a separate disk partition, or (ideally) a separate physical device from the data file directories. Because the commit log is append only, an HDD is acceptable for this purpose.

My work around for now: As a work around, I mounted my separate volume in the data directory and it seems to be working fine. Tried symbolic links but this method did not work.

┆Issue is synchronized with this Jira Story by Unito ┆Issue Number: K8OP-165

jsanda commented 2 years ago

@uchiha-pain this feature request was originally created in k8ssandra. See https://github.com/k8ssandra/k8ssandra/issues/351. Take a look a the comments there, particularly around IOPs. Curious to get your thoughts.