I would like to know if there is a way to specify the cluster ID in the RisingWave operator spec to prevent issues like the stateStore data directory being recognized as populated by another cluster during restarts.
Neil
Asked on Mar 06, 2024
Yes, you can specify the cluster ID in the RisingWave operator spec to prevent issues during restarts. By setting the cluster ID in the spec, RisingWave will use this ID consistently across meta store and state store, reducing the chances of conflicts during restarts.
Here is an example of how you can specify the cluster ID in the RisingWave operator spec:
spec:
clusterID: my-cluster-id