Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 在线修改 TiKV 配置文档存在歧义
Documentation is unclear or incomplete, please submit according to the template below:
- Issue Category: Ambiguous Description
- Page: Link + Screenshot
Online Modify TiKV Configuration
- Issue:
As shown in the red box. If you modify the TiKV configuration items online, the TiKV configuration file will be automatically modified. Isn’t this configuration file/tidb-deploy/tikv-20160/conf/tikv.toml
?
After testing and verification, the configuration modified online through the SET command will not be saved to this file. Only the configuration modified throughtiup cluster edit-config
will be saved to this file.
Should the description here be changed to the following:
After modifying the TiKV configuration items online, the modification takes effect immediately. However, this modification will not automatically modify the TiKV configuration file (tikv.toml), so the modification will be invalid after an upgrade or reload. To avoid the modification becoming invalid after an upgrade or reload, you need to synchronize the configuration items in the TiKV configuration file through
tiup cluster edit-config <cluster name>
. However, there is no need to execute thetiup cluster reload
operation after modification.
Is this more appropriate?