Skip to content

Conversation

@sfc-gh-dszmolka
Copy link
Contributor

Description

This is hopefully an end to a multi-year story. Please see the full history in the (sorry!) internal jira, but the short version is that the necessary permission s3:GetAccelerateConfiguration -on purpose- is missing from the Snowflake AWS role which is assumed during storage operations on Snowflake internal stages.
Without this permission, the initial /accelerate call to the bucket endpoint will be unsuccessful in 100% of the time.

This call to the transfer acceleration endpoint was always there as far as I can tell; and never seen it working in the past years. So out from the two possible approaches (either grant the permission, or remove the call) this is the second, after confirming internally we don't want to do the first ;)

The 'error' had no actual business impact besides logging a logline with HTTP response code 403 and maybe spending a little time on the /accelerate call; the rest of the operations (PUT, GET, etc) were always successfully performed.

But why spend any time and resources on a call which we know for a fact will be always unsuccessful?
This PR aims to address this situation. Also a tiny bit more of logging around the operation.

@sfc-gh-dszmolka sfc-gh-dszmolka added the DO_NOT_PORT_CHANGES_TO_SP Add this label when changes in this PR do not need to be port to SP connector label Sep 30, 2025
@sfc-gh-dszmolka sfc-gh-dszmolka marked this pull request as ready for review September 30, 2025 09:32
@sfc-gh-dszmolka sfc-gh-dszmolka requested a review from a team as a code owner September 30, 2025 09:32
@sfc-gh-dszmolka sfc-gh-dszmolka requested a review from a team October 4, 2025 12:49
@sfc-gh-dszmolka sfc-gh-dszmolka merged commit 7708f1b into main Oct 7, 2025
96 of 102 checks passed
@sfc-gh-dszmolka sfc-gh-dszmolka deleted the SNOW-2324060-dont-attempt-non-working-bucket-accelerate-endpoint branch October 7, 2025 12:53
@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

DO_NOT_PORT_CHANGES_TO_SP Add this label when changes in this PR do not need to be port to SP connector

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants