Skip to content

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

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

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

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.

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 #3264 open for this fix.

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.

1 participant