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

Avoid volatile writes for empty responses in HttpPageBufferClient #11069

Merged

Conversation

pettyjamesm
Copy link
Member

Description

Minor modification to the behavior of HttpPageBufferClient to avoid volatile writes to stats fields when no update is necessary, and to do so outside of a synchronized section.

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

This is a minor improvement to HttpPageBufferClient

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

This change affects the core engine only

How would you describe this change to a non-technical end user or system administrator?

No description to a non-technical end user should be necessary

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

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

@pettyjamesm pettyjamesm force-pushed the avoid-volatile-buffer-stats-writes branch from 70ae98d to 70ce312 Compare February 16, 2022 21:37
@losipiuk losipiuk merged commit 0ee0eb2 into trinodb:master Feb 17, 2022
@pettyjamesm pettyjamesm deleted the avoid-volatile-buffer-stats-writes branch February 17, 2022 22:06
@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