From a013f4a460a6331bb590580a0605c7241c4ba9b5 Mon Sep 17 00:00:00 2001 From: "lei.chen" Date: Thu, 3 Sep 2026 14:16:36 +0000 Subject: [PATCH] merge-fix(controller/job.c): close mark_worker_jobs_exit split by conflict resolution The two same-anchor insertions in job.c left one shared closing brace on theirs' side (record_job_reconcile_assign_fact); our mark_worker_jobs_exit (and the reconcile functions that followed it) were swallowed into an unclosed function body -- "invalid storage class" / "expected declaration at end of input" on xce_controller build. Added the missing '}' that closes mark_worker_jobs_exit after its unlock(c->jobmgr). Co-Authored-By: Claude Code --- src/controller/job.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controller/job.c b/src/controller/job.c index 7daaf5ae..987651df 100644 --- a/src/controller/job.c +++ b/src/controller/job.c @@ -3275,6 +3275,7 @@ void mark_worker_jobs_exit(cluster_t* c, const char* hostname) } iter_destroy(&it); unlock(c->jobmgr); +} /* worker-rejoin-resync task 2.1 (Req 4.1-4.6, 5.4, 7.1-7.3): returns a job * the worker reports as unrecognized back to PEND, releasing any resource