Open kos-team opened 3 months ago
https://docs.pingcap.com/tidb/stable/tikv-configuration-file#engine-new-in-v660
This configuration can only be specified when creating a new cluster and cannot be modifies once being specified.
But as you said, reject it explicitly is better
Bug Report
What version of Kubernetes are you using?
1.28.1
What version of TiDB Operator are you using?
1.6.0
What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods?
standard
What's the status of the TiDB cluster pods?
What did you do?
We tried to change the
storage.engine
option of TiKV, via thespec.tikv.config
property. But we found that after changingstorage.engine
fromraft-kv
topartitioned-raft-kv
, the TiKV keeps usingraft-kv
as the storage engine.spec.tikv.config.storage.engine
topartitioned-raft-kv
raft-kv
What did you expect to see? Storage engine should be updated, or the config change should be rejected explicitly.
What did you see instead? Although the Pods are rolling restarted with the updated ConfigMap, the actual configuration being used by the TiKV is not updated. We suspect that the updated configuration gets lost when the TiDB merges the configuration.