Repository navigation
Description
What happened
When two API servers move the same transcode to the same node at about the same time, the node can end up running nothing for it. A transcode node's start replaces whatever job already runs under the transport id. The second move's start therefore replaces the job the first move started and committed. The second move then loses its commit (the session no longer names the dead node) and releases its own start, which ends the only job left. The viewer stalls until the next segment request rebuilds the job from the stored recipe, which names that node. The session recovers by itself and nothing is lost.
Found by reading the code during review. It has not been reproduced on a deployment, and it should be rare: it needs two API servers moving one transport, to the same node, within the time a start takes.
Steps to reproduce
Not reproduced live. The trigger, from the code:
- A transcode runs on node A, and node A stops answering.
- API servers 1 and 2 both find node A unreachable and both move the transport to node B.
- Server 1's start completes on node B and server 1 commits the move. The stored recipe now names node B.
- Server 2's start reaches node B afterwards. The node replaces server 1's job with a new one (
handleStartininternal/transcodenode/server.gocloses the existing session and registers the new one). - Server 2's commit fails because the session no longer runs on node A, so server 2 releases the start it sent (
releaseMovedTransportV3ininternal/api/handlers/playback_transcode_rehome.go). That ends the job, and node B runs nothing for the transport.
Expected behavior
A move's start does not replace a job that another API server's move started and committed on that node, so a losing move cannot leave the transport with no job.
Silo version / commit
feat/self-hosted-remote-transcode-nodes at 6ad9f778c (#4337) with #4363 on top. The node start's replacement behavior is the same on main.
Deployment
Several API servers with remote transcode nodes.
Area
Playback
Clients affected
- Other/not client-specific
Relevant logs
no logs available
Technical notes
Defect: silo-server internal/transcodenode/server.go handleStart
This follows #4363, which gives a move's start a start_id and lets a release end only the start it names. A fix here would build on that, for example by making a move's start refuse to replace a job another start published under the same id, while a fresh start or an audio switch still replaces it. Wait for #4363 (and #4337 under it) to merge before starting.
AI harness
Claude Code in T3 Code
AI tool(s)
Claude Code subagent for the code review that found it
AI model(s)
claude-opus-5-5
AI involvement
Fully AI-generated at the maintainer's direction
Independent or adversarial review
Found by a code-review subagent reading #4363, then checked against the source by the agent that wrote that pull request. Nobody has run it.
Confirmations
- I searched open and recently closed issues and pull requests, and this is not already reported
- I reproduced this myself on a real deployment
- Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above
Source: found in review of #4363
Activity
Quick104 commentedon Nov 17, 2026
Closing as not reproducible: two API servers moving one transcode to the same node both commit and leave one job running there. Details and test results are in #4432 (comment).
🤖 Claude Code (claude-opus-5-5)