mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
* admin/plugin: keep a job running when its progress has no state A progress update without a state stored job_state_unspecified on the tracked job. That state is not active, so attemptEnded took the attempt for closed and dropped the worker's JobCompleted: the job stayed at its first progress stage, with no run record and no completion activity. seaweed-worker sends its progress without a state. Treat an unspecified progress state as running. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011UpvafvK8JpagF94MHWqwK * seaweed-worker: report progress as running when the handler sets no state The Lance handlers send their progress without a state, so admin saw JOB_STATE_UNSPECIFIED where the Go handlers send JOB_STATE_RUNNING, and dropped the job's completion. Default the state in the stream sender so every handler reports like the Go ones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011UpvafvK8JpagF94MHWqwK --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>