feat(worker-rejoin-resync): task 5 - exclude reconciling host from dispatch
Extend the IS_WORKER_UNAVAIL-style candidate-host filter to also skip a host with XCE_WORKER_RECONCILING set (Req 5.1), naturally re-including it once the bit clears with no separate mechanism (Req 5.2). Leaves the scheduler's decision-publish code and its symbol-guard regression test untouched. Fixes bug-1751: design.md's cited filter site (scheduler.c's sched_reset_worker_(), via sched_begin_session()) is dead code on both live drivers - driver.c/sim_loop.c actually call xce_core_begin_session() -> core_session.c's core_reset_workers(), an independently-maintained mirror not listed in design.md's File Structure Plan. Applied the identical disjunct to both sites so the task's own observable-completion criterion holds in production, not just on the literally-cited dead path. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y4M5MJM2zK6nU43da267Ku
This commit is contained in:
parent
5b69973677
commit
80d5a06212
6 changed files with 655 additions and 425 deletions
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue