-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Fix NoopLimiter disposal in DefaultPartitionedRateLimiter Heartbeat #127582
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
Merged
+176
−18
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
185affb
Track per-partition last-access tick so NoopLimiter is evicted by Hea…
Copilot 4b31962
Address review: remove redundant timestamp write, use Interlocked for…
Copilot 8d250d5
Clarify comment explaining why first-access has no eviction window
Copilot c7e37cd
Use Volatile.Read/Write instead of Interlocked for LastAccessTimestamp
Copilot 647bd0c
Add RateLimiterHelper.GetElapsedTime(long) overload to avoid GetValue…
Copilot 2d2f3ed
Restrict idle eviction fallback to NoopLimiter
Copilot 762a5ac
Apply remaining changes
Copilot 9e0efe9
Merge main + fix build after Utils.RunTimerFunc signature change
Copilot a6443a9
Remove unrelated scratch files accidentally committed earlier
Copilot 0119d3d
Potential fix for pull request finding
VSadov cc19731
Potential fix for pull request finding
VSadov 3dec367
Encapsulate limiter entry timestamp
Copilot 65a161d
Centralize reflected type names in rate limiting tests
Copilot c621259
Add Assert.True(limiterType.IsInstanceOfType(limiter)) before GetValu…
Copilot 56eadb6
Add explicit null check for nullable TimeSpan comparison in Heartbeat
Copilot 97da373
Clarify RateLimiting test comment
Copilot 72f0a07
Use is-pattern for nullable TimeSpan comparison in Heartbeat eviction
Copilot 7e6354d
Potential fix for pull request finding
VSadov ff41bbc
Potential fix for pull request finding
VSadov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.