Files
seaweedfs/weed/mq/offset
Chris LuandClaude Opus 5.5 ab6b1598b9 mq/offset: fix a flaky partial-listing test (#13288)
mq/offset: fail the test lookup the way a filer store does

TestListConsumerGroupPositionsReturnsWhatItReadOnAFailure flaked (about
1 in 60 runs): its fake filer failed the unreadable position with
codes.Unavailable and no details, which pb treats as a dead channel. The
shared ClientConn was closed and the concurrent loads of the other
partitions failed with it, so the listing returned one position, not two.

A real filer answers a store read error with a plain error (codes.Unknown),
which keeps the channel. The fake now does the same.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 03:15:58 -08:00
..