Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "SNOW-811265 Do not close channel on rebalance (#651)" #678

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

sfc-gh-japatel
Copy link
Collaborator

@sfc-gh-japatel sfc-gh-japatel commented Jul 28, 2023

This reverts commit 52f0a8a.

After careful consideration, we will revert "not closing channels" before a rebalance. i.e we will continue to close channel in close() API of SinkTask.

Closing the channel makes the behavior a bit more deterministic, closes resources and now that we have one client enabled, closing of channels wouldn't take a long time. (Probably only the first channel will take time but not subsequent)

@codecov
Copy link

codecov bot commented Jul 28, 2023

Codecov Report

Merging #678 (90bc562) into master (0f570ee) will decrease coverage by 0.05%.
Report is 1 commits behind head on master.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #678      +/-   ##
==========================================
- Coverage   87.97%   87.93%   -0.05%     
==========================================
  Files          50       50              
  Lines        4143     4143              
  Branches      451      452       +1     
==========================================
- Hits         3645     3643       -2     
- Misses        330      331       +1     
- Partials      168      169       +1     
Files Changed Coverage Δ
...tor/internal/streaming/SnowflakeSinkServiceV2.java 80.12% <50.00%> (-0.74%) ⬇️

... and 4 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sfc-gh-japatel sfc-gh-japatel merged commit 88dd84e into master Jul 28, 2023
30 of 32 checks passed
@sfc-gh-japatel sfc-gh-japatel deleted the japatel-revert-channel-close branch July 28, 2023 23:19
khsoneji pushed a commit to confluentinc/snowflake-kafka-connector that referenced this pull request Oct 12, 2023
khsoneji pushed a commit to confluentinc/snowflake-kafka-connector that referenced this pull request Oct 12, 2023
khsoneji pushed a commit to confluentinc/snowflake-kafka-connector that referenced this pull request Oct 12, 2023
khsoneji pushed a commit to confluentinc/snowflake-kafka-connector that referenced this pull request Oct 12, 2023
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.

3 participants