superfly/corrosion

Changes sent via sync goes way down on restart

Open

#129 opened on Dec 30, 2023

 (1 comment) (0 reactions) (0 assignees)Rust (83 forks)auto 404
:detective: investigative workhelp wanted

Repository metrics

Stars
 (1,817 stars)
PR merge metrics
 (PR metrics pending)

Description

On restart, the metric for sent changes via sync shows a marked decrease. This may only happen if restarting a few nodes.

It appears the node's sent sync only recover after it logs a "rejoined cluster" message. I'm not sure how this can happen and it should only happen when things are "wrong" in the SWIM cluster. I don't see any logs indicating that's the case though.

The node should've been announcing a new identity on start-up anyway, so I'm not sure how this rejoin works out.

Perhaps we need to tweak the config for the foca cluster.

Contributor guide