#705·flue

`Producer ownership is stale` after replica handoff

Author: AljutorCreated Sep 15, 2026Updated Sep 15, 2026

Describe the Bug

Hi! An AI coding assistant found this, but it’s reproducible on Flue 2.0.3 with both Postgres and Redis.

When a conversation runs on A, then B, then A again, the third turn logs Producer ownership is stale. twice and takes ~45 seconds to complete, even with an immediately responding fake model.

Expected Behavior

A should resume the conversation without stale ownership errors or the ~45-second delay.

Steps to Reproduce

Clone https://github.com/Aljutor/flue-replica-handoff-repro and run from the repo directory:

bash
docker compose run --build --rm tests

No API keys needed. The README also has Redis instructions.

Is this handoff supported, or am I missing something in the setup?