convoy docs
Search

KB-17 Suspected, not reproduced

A replica that cannot list members keeps its shards after its leases expire

Feature
Sharding
convoy versions
0.9.0
Found
2026-11-01

Behavior#

At each tick, the shard coordinator renews its member lease and lists the live members. If the list fails, the tick stops. The replica does not renew its shard leases, and keeps its current set of owned shards.

Effect#

When the list keeps failing, for example during a network partition, the shard leases expire. Another replica takes the shards, but the first replica still acts on them. Two replicas can then reconcile the same Releases.

Workaround#

None known.

Fix direction#

Drop the owned shards when a shard lease cannot be renewed before it expires.

In the code

convoy v0.9.0