You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the PDs is abnormal with CPU usage (172.16.6.135:12379 in the following monitor), from the perf we can observe server.(*Server).encryptionKeyManagerLoop costs most of the CPU
The root cause is after the etcd watch is canceled(etcd server returns an error, such as etcdserver: mvcc: required revision has been compacted), the watched channel is closed and will always get nil value from it.
Bug Report
What did you do?
Run a simple PD cluster with 3 nodes.
What did you expect to see?
PD runs normally
What did you see instead?
One of the PDs is abnormal with CPU usage (172.16.6.135:12379 in the following monitor), from the perf we can observe
server.(*Server).encryptionKeyManagerLoop
costs most of the CPUThe root cause is after the etcd watch is canceled(etcd server returns an error, such as
etcdserver: mvcc: required revision has been compacted
), the watched channel is closed and will always get nil value from it.This log can be found in abnormal pd.
dead loop here:
pd/server/encryptionkm/key_manager.go
Lines 224 to 241 in fa09aff
What version of PD are you using (
pd-server -V
)?master, v5.2.0 and v5.0.0 are also affected
The text was updated successfully, but these errors were encountered: