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

Make close on streaming S3 OutputStream idempotent #11089

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

losipiuk
Copy link
Member

@losipiuk losipiuk commented Feb 17, 2022

Description

Make close on streaming S3 OutputStream idempotent.
Apparently it sometimes get called more than once.

Relevant slack conversation https://trinodb.slack.com/archives/CGB0QHWSW/p1645032231001719

Is this change a fix, improvement, new feature, refactoring, or other?

fix

Is this a change to the core query engine, a connector, client library, or the SPI interfaces? (be specific)

Hive, Iceberg connector

Related issues, pull requests, and links

We still need #10797 for test coverage. (cc: @linzebing )

Documentation

(x) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

( ) No release notes entries required.
(x) Release notes entries required with the following suggested text:

# Hive, Iceberg
* Fix potential query failures for queries writing data to tables backed by S3. ({issue}`11089`)

@cla-bot cla-bot bot added the cla-signed label Feb 17, 2022
@losipiuk losipiuk merged commit 6396f8d into trinodb:master Feb 18, 2022
@github-actions github-actions bot added this to the 372 milestone Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants