#community-help

RocksDB Compaction Endpoint in Cluster Scenario

TLDR Victor asked about RocksDB compaction endpoint usage in a cluster. Kishore Nallan clarified that it needs to be called on all nodes separately.

Powered by Struct AI
4
4mo
Solved
Join the chat
May 16, 2023 (4 months ago)
Victor
Photo of md5-883ec27789f6562c63a6a74c049b0ddf
Victor
04:21 PM
Hi everyone, question regarding the RocksDB compaction endpoint: https://typesense.org/docs/0.24.1/api/cluster-operations.html#compacting-the-on-disk-database
In a cluster scenario should this be run on each node or will it compact all nodes of the cluster?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
04:29 PM
It only runs on the node that's called upon.
04:29
Kishore Nallan
04:29 PM
So you need to call on all nodes separately.
Victor
Photo of md5-883ec27789f6562c63a6a74c049b0ddf
Victor
04:30 PM
Thank you!