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

Cleanup SpoolingOutputStats #23486

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

pettyjamesm
Copy link
Member

Description

Makes rowCount final instead of a volatile AtomicLong, and avoids repeated atomic updates inside of SpoolingExchangeOutputBuffer in favor of a single final update outside of the loop.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

Makes rowCount final instead of a volatile AtomicLong, and avoids
repeated atomic updates inside of the SpoolingExchangeOutputBuffer in
favor of a single final update outside of the loop.
@wendigo wendigo merged commit 9bdfe96 into trinodb:master Sep 19, 2024
94 checks passed
@github-actions github-actions bot added this to the 459 milestone Sep 19, 2024
@pettyjamesm pettyjamesm deleted the cleanup-spooling-output-stats branch September 19, 2024 20:31
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.

2 participants