glusterd2 icon indicating copy to clipboard operation
glusterd2 copied to clipboard

Extra etcd memory consumption

Open rishubhjain opened this issue 7 years ago • 2 comments

During peer add, new peerID is assigned to the added peer, but the old peer ID and peer info details remain in external etcd which leads to extra memory consumption.

rishubhjain avatar Dec 19 '18 08:12 rishubhjain

What do you mean by "old" peer id here? Could you elaborate?

atinmu avatar Dec 19 '18 08:12 atinmu

Considering a scenario where there is a 2 node cluster(using external etcd) and I have a 3rd node(using external etcd) that I want to add to the cluster. Since GD2 is running on the 3rd cluster it has a peer ID. Once I add the 3rd node to the cluster it will get a new PeerID, but the old peer ID of the 3rd node is not removed from external etcd, which is a waste of etcd space.

rishubhjain avatar Dec 19 '18 09:12 rishubhjain