Merge remote-tracking branch 'fork/v4_fix' into v4_fix
Some checks failed
coverage / build (pull_request) Failing after 1m24s
lint / lint (pull_request) Failing after 1m14s
test / test (pull_request) Failing after 2m33s

# Conflicts:
#	subscriber.go
This commit is contained in:
Evstigneev Denis
2025-12-05 15:31:12 +03:00

View File

@@ -121,7 +121,7 @@ func (s *Subscriber) poll(ctx context.Context) {
tps := tp{t, p} tps := tp{t, p}
s.mu.Lock() s.mu.Lock()
c := s.consumers[tps] c := s.consumers[tps]
s.mu.Unlock() s.mu.RUnlock()
if c != nil { if c != nil {
c.recs <- newErrorFetchTopicPartition(err, t, p) c.recs <- newErrorFetchTopicPartition(err, t, p)
} }