Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuring dedicated volume for ScyllaDB commit log #2086

Open
matheus2740 opened this issue Aug 19, 2024 · 2 comments
Open

Allow configuring dedicated volume for ScyllaDB commit log #2086

matheus2740 opened this issue Aug 19, 2024 · 2 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@matheus2740
Copy link

What should the feature do?

While using the helm chart to deploy a cluster, it is currently impossible to use a separate volume for the commitlog, which is a pretty common operation (and highly recommended when using high latency volumes, such as spinning disks).

racks[].storage currently only specifies one volume, which is where both data and commitlog will live, and ideally we would be able to specify another (optional) key for the commitlog,
such as racks[].commitlogStorage, or subdivide the existing key into racks[].storage.data and racks[].storage.commitlog.

racks[].volumes cannot be used for this purpose because it will mount the volume to the entire rack, and not one per individual node.

What is the use case behind this feature?

Separating the commitlog and data directories into different volumes is required if you wish to have acceptable performance while using spinning disks, and also can be an important strategy to maximize throughput while using networked storage such as EBS.
Since it is hard/impossible to use local disks with helm/k8s, this option should be readily available since the vast majority of users will be using networked storage, and separating the commitlog can greatly improve the cluster performance.

Anything else we need to know?

Briefly discussed on slack:
https://scylladb-users.slack.com/archives/CFFVC7EA0/p1723831259255499

@matheus2740 matheus2740 added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 19, 2024
@scylla-operator-bot scylla-operator-bot bot added the needs-priority Indicates a PR lacks a `priority/foo` label and requires one. label Aug 19, 2024
@zimnx zimnx added the priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. label Aug 19, 2024
@scylla-operator-bot scylla-operator-bot bot removed the needs-priority Indicates a PR lacks a `priority/foo` label and requires one. label Aug 19, 2024
@tnozicka
Copy link
Member

tnozicka commented Aug 20, 2024

For the record, this isn't specific for the helm chart but it's not supported on ScyllaCluster CRD either.
/retitle Allow configuring dedicated volume for ScyllaDB commit log

@scylla-operator-bot scylla-operator-bot bot changed the title Make it possible to specify a separate volume for the commit log in the helm chart Allow configuring dedicated volume for ScyllaDB commit log Aug 20, 2024
Copy link
Contributor

The Scylla Operator project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 30d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out

/lifecycle stale

@scylla-operator-bot scylla-operator-bot bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 19, 2024
@tnozicka tnozicka added priority/backlog Higher priority than priority/awaiting-more-evidence. and removed priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

3 participants