feat(election-iomgr-refactor): remove old blocking election code (am_i_primary_quorum, vote_request_thread, bootstrap_config_if_needed) — task 5.3

This commit is contained in:
Rongsong Shen 2026-05-30 13:04:19 +00:00
parent 31a54043d5
commit 27ea14cd9a
7 changed files with 83 additions and 512 deletions

View file

@ -149,9 +149,9 @@ char *sanitise_cn(const char *src, size_t maxlen);
#include <stdint.h>
/*
* xce_probe_config_tag_hook: test-only injection point for bootstrap probing.
* When non-NULL, bootstrap_config_if_needed() calls this instead of the real
* xce_probe_config_tag(), allowing unit tests to return controlled tag values
* xce_probe_config_tag_hook: test-only injection point for config tag probing.
* When non-NULL, xce_probe_config_tag() calls this instead of the real
* network probe, allowing unit tests to return controlled tag values
* without real network connections.
* Set by test infrastructure (e.g. test_ha_bootstrap_support.c) before tests run.
*/