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

kvserver: remove above-raft throttling of AddSST #101530

Closed
wants to merge 2 commits into from

Conversation

tbg
Copy link
Member

@tbg tbg commented Apr 14, 2023

We now rely on admission control to protect the nodes.1

Epic: none
Release note (ops change): The following cluster settings were retired and no longer have any effect:

  • kv.bulk_io_write.concurrent_addsstable_requests
  • kv.bulk_io_write.concurrent_addsstable_as_writes_requests
  • rocksdb.ingest_backpressure.l0_file_count_threshold
  • rocksdb.ingest_backpressure.max_delay

Footnotes

  1. https://github.com/cockroachdb/cockroach/pull/98762#discussion_r1164701947

@blathers-crl
Copy link

blathers-crl bot commented Apr 14, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg tbg requested a review from irfansharif April 14, 2023 11:37
@tbg
Copy link
Member Author

tbg commented Apr 14, 2023

@irfansharif could you give me an explanation on why we're now fine removing this? Because we have sufficient integration with admission control? Or because we just don't think this will do more harm than good?

tbg added 2 commits April 26, 2023 09:19
We now rely on admission control to protect the nodes.[^1]

[^1]: cockroachdb#98762 (comment)

Epic: none
Release note (ops change): The following two cluster settings were retired and no longer have any effect:
- kv.bulk_io_write.concurrent_addsstable_requests
- kv.bulk_io_write.concurrent_addsstable_as_writes_requests
Epic: none
Release note: None
@tbg tbg force-pushed the preingest-remove-above-raft branch from f147be1 to d25a57f Compare April 26, 2023 07:19
@tbg tbg marked this pull request as ready for review April 26, 2023 07:20
@tbg tbg requested review from a team as code owners April 26, 2023 07:20
@tbg tbg requested a review from RaduBerinde April 26, 2023 07:20
@tbg
Copy link
Member Author

tbg commented Apr 26, 2023

Friendly ping.

@irfansharif
Copy link
Contributor

I miscommunicated the sequencing, I don't think we should get rid of these for at least a few weeks. Not until #98308 has landed and has had chance to bake on master as enabled. This is just out of an abundance of caution and not inviting more CI fallout than necessary. What I can do instead is assign myself this PR, mark it as draft, and take it over the finish line when ready.

@irfansharif irfansharif self-assigned this Apr 26, 2023
@irfansharif irfansharif marked this pull request as draft April 26, 2023 21:34
@irfansharif
Copy link
Contributor

Because we have sufficient integration with admission control? Or because we just don't think this will do more harm than good?

Yes to both, after the kvflowcontrol machinery is used by default, we should have sufficient protection using just AC machinery and I don't think these limiters would really be meaningful.

@tbg
Copy link
Member Author

tbg commented May 1, 2023

👍🏽 Would you mind re-opening under your name? That way it doesn't dangle around in my workflows. Thanks!

Filed #102683 to track and assigned to you.

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