Skip to content

Commit

Permalink
faq: add PD encryption error "fail to get encryption key from file" (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCheng-956 authored Jan 10, 2024
1 parent 0a0a21c commit 611cdde
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 @@ -145,6 +145,10 @@ Most of the APIs of PD are available only when the TiKV cluster is initialized.

This is because the `--initial-cluster` in the PD startup parameter contains a member that doesn't belong to this cluster. To solve this problem, check the corresponding cluster of each member, remove the wrong member, and then restart PD.

### The `[PD:encryption:ErrEncryptionNewMasterKey]fail to get encryption key from file /root/path/file%!(EXTRA string=open /root/path/file: permission denied)` message is displayed when enabling encryption at rest for PD

Encryption at rest does not support storing the key file in the `root` directory or its subdirectories. Even if you grant read permissions, the same error occurs. To resolve this issue, store the key file in a location outside the `root` directory.

### What's the maximum tolerance for time synchronization error of PD?

PD can tolerate any synchronization error, but a larger error value means a larger gap between the timestamp allocated by the PD and the physical time, which will affect functions such as read of historical versions.
Expand Down

0 comments on commit 611cdde

Please sign in to comment.