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

Core, AWS: Add flag to control whether initialization stack trace should be created in S3FileIO #7552

Merged
merged 2 commits into from
May 9, 2023

Conversation

nastra
Copy link
Contributor

@nastra nastra commented May 8, 2023

When S3FileIO gets created through ResolvingFileIO then the creation stack
trace is being kept in ResolvingFileIO. ResolvingFileIO will then
close the underlying S3FileIO when ResolvingFileIO#finalize() gets
called. Therefore we don't want to issue a WARN in S3FileIO in case
S3FileIO#finalize() gets called before ResolvingFileIO#finalize().

nastra added 2 commits May 8, 2023 16:01
…uld be created in S3FileIO

When `S3FileIO` gets created through `ResolvingFileIO` then the creation stack
trace is being kept in `ResolvingFileIO`. `ResolvingFileIO` will then
close the underlying `S3FileIO` when `ResolvingFileIO#finalize() gets
called. Therefore we don't want to issue a `WARN` in `S3FileIO` in case
`S3FileIO#finalize()` gets called before `ResolvingFileIO#finalize()`.
@nastra nastra force-pushed the flag-for-init-stacktrace branch from 994c6c8 to efc868d Compare May 8, 2023 14:01
@rdblue rdblue merged commit 46fe807 into apache:master May 9, 2023
41 checks passed
@rdblue
Copy link
Contributor

rdblue commented May 9, 2023

Thanks, @nastra!

@nastra nastra deleted the flag-for-init-stacktrace branch May 10, 2023 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants