kvrocks-controller icon indicating copy to clipboard operation
kvrocks-controller copied to clipboard

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

Open Aneuuu opened this issue 1 year ago • 2 comments

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?

Aneuuu avatar Jan 12 '24 07:01 Aneuuu

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

git-hulk avatar Jan 12 '24 08:01 git-hulk

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.

Aneuuu avatar Jan 12 '24 08:01 Aneuuu