1

Cassandra/ScyllaDB

I have a node with 51000+ recycled commitlogs and want to know if I can just blitz them.

I am Linux not Scylla/Cassandra but these are filling up a datadisk. Normal commitlogs appear to be created and used/removed so I am assuming these are from some failed effort somewhere and may be just copies of existing or commits already run. If these are for commits which have failed and need to be re-done would a restart of the service kickstart a purge?

I cannot find anything relating to recycled versions and am hoping some useful individual out there can shed some techlight.

Hpoonis
  • 11
  • 1

1 Answers1

1

Recycled commitlog segments are commitlog segments that aren't used for storing commits, and are ready to be reused for new commits.

Do not delete them. Without recycled commitlog segments, ScyllaDB needs to first format a commitlog segment, then fill it with commits. With recycled commitlog segments, the first step can be omitted.

The total size of commitlog segments (recycled and active) is bounded by the size of your RAM, which is usually much smaller than the disk space.

Avi Kivity
  • 111
  • 2