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

Rate Limit Scan Statistics Function #2778

Closed
raggar opened this issue Jul 31, 2023 · 0 comments · Fixed by #2779
Closed

Rate Limit Scan Statistics Function #2778

raggar opened this issue Jul 31, 2023 · 0 comments · Fixed by #2779

Comments

@raggar
Copy link
Contributor

raggar commented Jul 31, 2023

Currently the ScanStatistics introduced in this pr: #2713 uses iterators to count different key types, snapshot pinned keys etc. There should be a limit in the number of keys that should be read within a certain period of time.

@raggar raggar self-assigned this Jul 31, 2023
raggar added a commit to raggar/pebble that referenced this issue Jul 31, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: cockroachdb#2778
raggar added a commit to raggar/pebble that referenced this issue Jul 31, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: cockroachdb#2778
raggar added a commit to raggar/pebble that referenced this issue Aug 1, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: cockroachdb#2778
raggar added a commit to raggar/pebble that referenced this issue Aug 1, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: cockroachdb#2778
raggar added a commit to raggar/pebble that referenced this issue Aug 2, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: cockroachdb#2778
raggar added a commit to raggar/pebble that referenced this issue Aug 2, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: cockroachdb#2778
raggar added a commit to raggar/pebble that referenced this issue Aug 2, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: cockroachdb#2778
raggar added a commit to raggar/pebble that referenced this issue Aug 2, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: cockroachdb#2778
raggar added a commit to raggar/pebble that referenced this issue Aug 2, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: cockroachdb#2778
raggar added a commit to raggar/pebble that referenced this issue Aug 3, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: cockroachdb#2778
raggar added a commit to raggar/pebble that referenced this issue Aug 7, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: cockroachdb#2778
raggar added a commit to raggar/pebble that referenced this issue Aug 7, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: cockroachdb#2778
raggar added a commit that referenced this issue Aug 7, 2023
This pull request uses a `TokenBucket` to limit the number of keys that
read from `ScanStatistics` within a certain period of time.

Fixes: #2778
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant