Skip to content

Conversation

@nastra
Copy link
Contributor

@nastra nastra commented Apr 22, 2024

This fixes an issue where the remote signing configuration is being overriden/ignored when the user-agent configuration is being applied. This is because calling overrideConfiguration(Consumer<ClientOverrideConfiguration.Builder> overrideConfiguration) creates a new ClientOverrideConfiguration and ignores any existing ones that might have been set previously.

The s3RemoteSigningEnabledWithUserAgent() test reproduces the issue and fails without the fix being proposed here.

@github-actions github-actions bot added the AWS label Apr 22, 2024
@nastra nastra force-pushed the remote-signing-with-user-agent-config branch from f04c343 to 0ab810f Compare April 22, 2024 08:51
@nastra nastra force-pushed the remote-signing-with-user-agent-config branch from 0ab810f to 11971ff Compare April 22, 2024 08:51
Copy link
Contributor

@amogh-jahagirdar amogh-jahagirdar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find @nastra !

@amogh-jahagirdar amogh-jahagirdar merged commit e3b78be into apache:main Apr 22, 2024
@nastra nastra deleted the remote-signing-with-user-agent-config branch April 22, 2024 14:09
sasankpagolu pushed a commit to sasankpagolu/iceberg that referenced this pull request Oct 27, 2024
zachdisc pushed a commit to zachdisc/iceberg that referenced this pull request Dec 23, 2024
parthchandra pushed a commit to parthchandra/iceberg that referenced this pull request Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants