Skip to content

fix: prevent pushsync block on invalid chunk - #5647

Merged
sbackend123 merged 1 commit into
masterfrom
fix/pusher-invalid-chunk-deadlock
Oct 7, 2026
Merged

sbackend123 merged 1 commit into
masterfrom
fix/pusher-invalid-chunk-deadlock

Conversation

@sbackend123

Copy link
Copy Markdown
Contributor

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have added or updated fuzz targets for any code handling untrusted input.
  • I have filled out the description and linked the related issues.

Description

chunksWorker sent an IdentityAddress error on op.Err. For a deferred chunk that channel is nil, so the send blocked the worker forever and stopped all push-sync, including across restarts. This PR fixes this problem.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

#5641

Screenshots (if appropriate):

AI Disclosure

  • This PR contains code that has been generated by an LLM.
  • I have reviewed the AI generated code thoroughly.
  • I possess the technical expertise to responsibly review the code generated in this PR.

Comment thread pkg/pusher/pusher.go
@acud acud changed the title fix: prevent pushsync block on invelid chunk fix: prevent pushsync block on invalid chunk Oct 6, 2026
@sbackend123
sbackend123 merged commit 7001a06 into master Oct 7, 2026
17 checks passed
@sbackend123
sbackend123 deleted the fix/pusher-invalid-chunk-deadlock branch October 7, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants