diff --git a/src/peers.c b/src/peers.c index 5245bb7155..aa0ab9734e 100644 --- a/src/peers.c +++ b/src/peers.c @@ -1808,6 +1808,8 @@ static int peer_treat_updatemsg(struct appctx *appctx, struct peer *p, int updt, *msg_cur += keylen; } + newts->shard = stktable_get_key_shard(st->table, newts->key.key, keylen); + /* lookup for existing entry */ ts = stktable_set_entry(st->table, newts); if (ts != newts) {