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

distsql: change default disk monitor increment to 1MiB #26856

Merged
merged 1 commit into from
Jun 20, 2018
Merged

distsql: change default disk monitor increment to 1MiB #26856

merged 1 commit into from
Jun 20, 2018

Conversation

asubiotto
Copy link
Contributor

The previous increment was 64MiB. This was unnecessarily large and
provided too high a granularity for stat reporting.

Closes #26793

Release note: None

The previous increment was 64MiB. This was unnecessarily large and
provided too high a granularity for stat reporting.

Closes #26793

Release note: None
@asubiotto asubiotto requested a review from jordanlewis June 20, 2018 15:21
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@jordanlewis
Copy link
Member

:lgtm:


Review status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale)


Comments from Reviewable

@asubiotto
Copy link
Contributor Author

bors r+

craig bot pushed a commit that referenced this pull request Jun 20, 2018
26741: kv, client: don't send non-txn requests through the TxnCoordSender anymore r=andreimatei a=andreimatei

We were sending them through the TCS because the TCS was in charge of
wrapping them in a Txn and retrying if the batch spanned requests (cause
batches need to be atomic and you can only get that cross-range in
txns).
But that's nasty. The TCS is littered with checks about whether a
request is transactional or not, and the code to do the wrapped retry
did not belong there anyway.
This patch moves the wrapping/retry in a new Sender under the client.DB.
Now non-txn requests go through that and then straight to the
DistSender.

Release note: None

26856: distsql: change default disk monitor increment to 1MiB r=asubiotto a=asubiotto

The previous increment was 64MiB. This was unnecessarily large and
provided too high a granularity for stat reporting.

Closes #26793

Release note: None

Co-authored-by: Andrei Matei <[email protected]>
Co-authored-by: Alfonso Subiotto Marqués <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jun 20, 2018

Build succeeded

@craig craig bot merged commit ec3ce78 into cockroachdb:master Jun 20, 2018
@asubiotto asubiotto deleted the hj-stats branch June 21, 2018 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants