Skip to content

Reject only the unroutable partitions in a ProduceSync call - #100

Merged
koloss2001 merged 1 commit into
mainfrom
koloss2001/partition-isolated-route-records
Oct 3, 2026
Merged

koloss2001 merged 1 commit into
mainfrom
koloss2001/partition-isolated-route-records

Conversation

@koloss2001

Copy link
Copy Markdown
Contributor

Summary

Port of #99 from release-0.1 to main.

  • Named missing leaders already fall back to a live agent. Remaining routing misses, such as Leader < 0, unknown topics, topic-level metadata errors, or an empty pool, now reject only the affected records in ProduceSync. The call waits for accepted records to finish, without waiting on Metadata. Produce is unchanged.
  • Repeated record pointers receive the correct outcome at every input position, including success, routing rejection, cancellation, and terminal failure. Additional result copying runs only when pointers repeat.
  • Repeat Back off on-demand Metadata refreshes while a leader stays excluded (release-0.1) #97's periodic-Close regression scenario 40 times to reliably detect a missing refreshCtx.Err() check; a single run can pass about half the time without it.

Port of #99 from release-0.1 to main.

Co-authored-by: Cursor <cursoragent@cursor.com>
@koloss2001
koloss2001 requested review from a team as code owners October 3, 2026 00:06
@koloss2001
koloss2001 merged commit e01d371 into main Oct 3, 2026
16 checks passed
@koloss2001
koloss2001 deleted the koloss2001/partition-isolated-route-records branch October 3, 2026 00:26
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.

2 participants