Skip to content

Commit

Permalink
faq: add PD encryption error "fail to get encryption key from file" (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Dec 14, 2023
1 parent c83197d commit 2fe6839
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions faq/manage-cluster-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ PD 的大部分 API 需要在初始化 TiKV 集群以后才能使用,如果在

PD 启动参数中的 `--initial-cluster` 包含了某个不属于该集群的成员。遇到这个错误时请检查各个成员的所属集群,剔除错误的成员后即可正常启动。

### PD 开启静态加密报错:`[PD:encryption:ErrEncryptionNewMasterKey]fail to get encryption key from file /root/path/file%!(EXTRA string=open /root/path/file: permission denied)`

静态加密不支持将密钥文件存放在 `root` 目录或其子目录下,即使增加读取权限也会报相同的错误。遇到这个报错时,可以将密钥文件存放在非 `root` 目录的路径下。

### PD 能容忍的时间同步误差是多少?

理论上,时间同步误差越小越好。PD 可容忍任意时长的误差,但是,时间同步误差越大意味着 PD 分配的时间戳与真实的物理时间相差越大,这个差距会影响读历史版本等功能。
Expand Down

0 comments on commit 2fe6839

Please sign in to comment.