apache / kvrocks-controller

Apache Kvrocks Controller is a cluster management tool for Apache Kvrocks.
https://kvrocks.apache.org/
Apache License 2.0
78 stars 42 forks source link

Reuse etcd cluster, kvctl-server memory usage will be very large #134

Open Aneuuu opened 5 months ago

Aneuuu commented 5 months ago

kvrocks controller version 0.2.0 go version 1.20

each etcd node has 1.5G data

when kvctl-client connect to kvctl-server, the memory will increase by about 2

I want to know if this is normal?

git-hulk commented 5 months ago

Do you mean the memory of the controller server will increase 2 times? if yes, that's not expected.

Aneuuu commented 5 months ago

not 2 times,is 2Gi, However, I seem to have found the cause of the problem. I recreated the situation, Found that there are many keys about failover. This resulted in an increase in memory when querying etcd. Regarding these keys, I shut down an test kvrocks cluster. thank you for your answer.