Files
qdrant/tests
Andrey VasnetsovandClaude Fable 5 3448d5b39d tests: restart reinit peer on the same port in readyz test (#10255)
`test_reinit_removed_peer_readyz_ignores_old_cluster` restarted the
reinitialized peer on a fresh port. A changed `--uri` makes the peer
announce its new address to every address-book entry, including the
injected old first peer, which re-adds it to the *old* cluster as a
learner and starts replicating its log to it. Normally the restarted
peer is a term ahead and ignores those messages, but when the reinit
run's hard state save did not finish before the kill, it restarted at
the old term, accepted the old leader, took its log (commit 13 > 12)
and failed the guard.

The scenario is a plain restart, so keep the URI; then nothing is
announced and only the `/readyz` membership filter is exercised.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-03 12:41:05 +02:00
..
2024-07-10 14:18:15 +02:00