Skip to content

[codex] Merge remote-tracking branch 'upstream/master' into fix/sink-source-connector-duplicate-open#3267

Closed
MukundaKatta wants to merge 2 commits into
apache:masterfrom
MukundaKatta:fix/sink-source-connector-duplicate-open-pr-05150047
Closed

[codex] Merge remote-tracking branch 'upstream/master' into fix/sink-source-connector-duplicate-open#3267
MukundaKatta wants to merge 2 commits into
apache:masterfrom
MukundaKatta:fix/sink-source-connector-duplicate-open-pr-05150047

Conversation

@MukundaKatta
Copy link
Copy Markdown
Contributor

Summary

  • Merge remote-tracking branch 'upstream/master' into fix/sink-source-connector-duplicate-open

Changed files

  • core/connectors/sdk/src/sink.rs
  • core/connectors/sdk/src/source.rs

Tests

  • Not run in this publishing pass; local branch was clean before opening the PR.

The sink_connector! and source_connector! macros silently overwrote
an existing INSTANCES entry on a duplicate open call, discarding any
in-flight buffered data and orphaning the prior connector tasks.
Return -1 on duplicate id so callers see the failure and can drain or
close explicitly before re-opening.

Closes apache#3168.

Signed-off-by: Mukunda Rao Katta <mukunda.vjcs6@gmail.com>
@MukundaKatta
Copy link
Copy Markdown
Contributor Author

Closing duplicate PR created during a publishing retry. Keeping the earlier PR for this branch open.

@hubcio
Copy link
Copy Markdown
Contributor

hubcio commented May 15, 2026

Please stop opening these slop PRs.

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