Skip to content

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

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

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

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 this duplicate PR in favor of #3265, which carries the same connector SDK duplicate-open fix on the cleaner branch.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 15, 2026

Codecov Report

❌ Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.94%. Comparing base (611fca0) to head (e64e06c).
⚠️ Report is 40 commits behind head on master.

Files with missing lines Patch % Lines
core/connectors/sdk/src/source.rs 0.00% 7 Missing ⚠️
core/connectors/sdk/src/sink.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3264      +/-   ##
============================================
- Coverage     74.10%   73.94%   -0.16%     
  Complexity      943      943              
============================================
  Files          1159     1182      +23     
  Lines        102033   108765    +6732     
  Branches      79083    85969    +6886     
============================================
+ Hits          75607    80424    +4817     
- Misses        23765    25599    +1834     
- Partials       2661     2742      +81     
Components Coverage Δ
Rust Core 74.89% <0.00%> (-0.44%) ⬇️
Java SDK 62.30% <ø> (+2.15%) ⬆️
C# SDK 69.34% <ø> (-0.05%) ⬇️
Python SDK 81.43% <ø> (ø)
Node SDK 91.53% <ø> (ø)
Go SDK 39.52% <ø> (+0.09%) ⬆️
Files with missing lines Coverage Δ
core/connectors/sdk/src/sink.rs 75.59% <0.00%> (-1.23%) ⬇️
core/connectors/sdk/src/source.rs 66.66% <0.00%> (+0.95%) ⬆️

... and 154 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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