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

Split the is_importing stat in two #96

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elhmn
Copy link
Contributor

@elhmn elhmn commented Jan 17, 2025

We want to use two new different sockstats, import_skip_push_limit and import_soft_throttling which are respectively used to allow a higher push limit, and implement soft throttling policy for imports.

We still forward the is_importing stat for to skip push limit for backward compatibility. We plan to remove it on a subsequent PR.

@elhmn elhmn force-pushed the elhmn-split-the-is-importing-stat branch 2 times, most recently from 2bfa3e4 to 6a33470 Compare January 17, 2025 08:21
@elhmn elhmn force-pushed the elhmn-split-the-is-importing-stat branch from 6a33470 to b720153 Compare January 17, 2025 17:09
We want to use two new different sockstats,
`import_skip_push_limit` and `import_soft_throttling`
which are respectively used to allow a higher push limit,
and implement soft throttling policy for imports.

We still forward the `is_importing` stat for to skip
push limit for backward compatibility. We plan to
remove it on a subsequent PR.
@elhmn elhmn force-pushed the elhmn-split-the-is-importing-stat branch from b720153 to aeb2528 Compare January 17, 2025 17:31
@elhmn elhmn changed the title wip: split the is_importing stat Split the is_importing stat in two Jan 17, 2025
@elhmn elhmn marked this pull request as ready for review January 17, 2025 20:33
@Copilot Copilot bot review requested due to automatic review settings January 17, 2025 20:33

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again, by re-requesting a review.

@elhmn elhmn requested a review from a team January 17, 2025 20:45
Copy link
Contributor

@migue migue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind adding an extra test in spokes-receive-pack/blob/main/internal/integration/integration_test.go?

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.

2 participants