Repository navigation
Correct no-random-settings rationale in 04103_user_network_bandwidth_throttler - #106947
tiandiwonder wants to merge 1 commit into
Conversation
…throttler The `no-random-settings` comment attributed the flakiness specifically to S3 prefetch, but the test fails with prefetch enabled too (per @azat); the real fragility was the throttle limit sitting close to the natural S3 read rate, since addressed by lowering the limit to 200 KB/s. Reword the comment to state that various randomized settings perturb read throughput and that the conservative limit is the primary robustness. Comment only; the tag is kept and test behavior is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Workflow [PR], commit [d28ff43] Summary: ❌
AI ReviewSummaryThis PR rewords the Missing context / blind spots
Final Verdict✅ No blocking or major findings. No inline comments posted. |
There was a problem hiding this comment.
Pull request overview
This PR updates the rationale comment for the no-random-settings tag in the stateless test 04103_user_network_bandwidth_throttler, correcting the previous explanation that attributed flakiness specifically to S3 prefetch being disabled. It clarifies that various randomized settings can perturb S3 read throughput, and that the conservative 200 KB/s throttle limit is the primary robustness mechanism.
Changes:
- Reword
no-random-settingscomment to describe throughput variability from multiple randomized settings, not just prefetch. - Explicitly documents that the conservative throttle limit is the main factor ensuring deterministic throttler sleeping/assertions.
LLVM Coverage Report
Changed lines: No C/C++ source files changed — skipping uncovered code analysis. Newly covered by added/modified tests: 335 line(s), 12 function(s) across 121 file(s) · Details Top files
|
| # no-random-settings: various randomized settings (read-buffer sizes, prefetch, thread counts, | ||
| # etc.) perturb the S3 read throughput; pinning them keeps the read rate stable relative to the | ||
| # throttle limit so the throttler reliably sleeps and the assertion is deterministic. The primary | ||
| # robustness comes from the conservative throttle limit below (well under the natural read rate). |
There was a problem hiding this comment.
I'm still wonder, which setting causing instability?
|
Ok, anyway here is a proper fix - #106680 |
Follow-up to #103586. Corrects the
no-random-settingsrationale comment in04103_user_network_bandwidth_throttler— it attributed the flakiness specifically to S3 prefetch, but as @azat pointed out in the review thread, the test fails with prefetching enabled too, so prefetch was not the cause.The real fragility was the throttle limit sitting just below the natural S3 read rate, which has since been addressed by lowering the limit to 200 KB/s (well under the natural rate). This change only rewords the stale comment to say that various randomized settings perturb read throughput and that the conservative limit is the primary robustness. The
no-random-settingstag is kept and test behavior is unchanged.(Whether the tag is now redundant given the 200 KB/s limit could not be determined from CI history, since the two mitigations have only ever coexisted on master; this PR deliberately keeps the tag.)
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Documentation entry for user-facing changes