Repository navigation
fix: incorrect snowpipe channel id being returned if insert recreates the channel - #6012
Merged
Merged
Conversation
shekhar-rudder
force-pushed
the
war-776-cru-duplicates
branch
from
June 18, 2025 02:28
f897409 to
00e4b11
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/1.52.x #6012 +/- ##
==================================================
- Coverage 76.64% 76.54% -0.10%
==================================================
Files 514 514
Lines 69123 69125 +2
==================================================
- Hits 52980 52913 -67
- Misses 13261 13315 +54
- Partials 2882 2897 +15 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
RanjeetMishra
approved these changes
Jun 18, 2025
vyeshwanth
approved these changes
Jun 18, 2025
Merged
shekhar-rudder
pushed a commit
that referenced
this pull request
Jun 18, 2025
🤖 I have created a release *beep* *boop* --- ## [1.52.2](v1.52.1...v1.52.2) (2025-06-18) ### Bug Fixes * incorrect snowpipe channel id being returned if insert recreates the channel ([#6012](#6012)) ([71cbabe](71cbabe)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
shekhar-rudder
added a commit
that referenced
this pull request
Jun 19, 2025
# Description Syncing patch release v1.52.2 to main branch **↓↓ Please review and edit commit overrides before merging ↓↓** BEGIN_COMMIT_OVERRIDE fix: incorrect snowpipe channel id being returned if insert recreates the channel (#6012) END_COMMIT_OVERRIDE --------- Co-authored-by: Mihir Gandhi <[email protected]> Co-authored-by: Aris Tzoumas <[email protected]> Co-authored-by: shekhar-rudder <[email protected]> Co-authored-by: Shashank Shekhar <[email protected]>
This was referenced Jun 19, 2025
Closed
atzoum
added a commit
that referenced
this pull request
Jun 23, 2025
# Description Syncing patch release v1.52.2 to main branch **↓↓ Please review and edit commit overrides before merging ↓↓** BEGIN_COMMIT_OVERRIDE fix: incorrect snowpipe channel id being returned if insert recreates the channel (#6012) END_COMMIT_OVERRIDE --------- Co-authored-by: Mihir Gandhi <[email protected]> Co-authored-by: Aris Tzoumas <[email protected]> Co-authored-by: shekhar-rudder <[email protected]> Co-authored-by: Shashank Shekhar <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
BUG
A fix was made for preventing duplicates in Snowpipe in PR #5957 . But it missed returning the id of the newly created channel in the
Uploadmethod. As a result,Pollmethod was still receiving the stale channel id. So the GetStatus API call was failing with 404, causing the event to be marked as failed. This failed event would be retried causing duplicatesFIX
api.goandapiadapter.goand the corresponding test filesErrChannelNotFoundinsertmethod in manager which has the channel recreation logic based on the error type. This method is also being called fromdiscardsSecurity