Skip to content

Cleanup SpoolingOutputStats#23486

Merged
wendigo merged 1 commit intotrinodb:masterfrom
pettyjamesm:cleanup-spooling-output-stats
Sep 19, 2024
Merged

Cleanup SpoolingOutputStats#23486
wendigo merged 1 commit intotrinodb:masterfrom
pettyjamesm:cleanup-spooling-output-stats

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
@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