-
Notifications
You must be signed in to change notification settings - Fork 31
[dhcpmon] Write COUNTERS_DB without blocking packet handling #98
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
Closed
Xichen96
wants to merge
16
commits into
sonic-net:master
from
Xichen96:dev/xichenlin/stable-db-counter-snapshot
Closed
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
f0a713a
[dhcpmon]: Bound packet callback work
Xichen96 b03bcec
[dhcpmon]: Synchronize counter state access
Xichen96 b89f785
[dhcpmon]: Write DB counters from a stable snapshot
Xichen96 ee3f4d9
[dhcpmon]: Skip unknown counter snapshot sockets
Xichen96 c84af91
[dhcpmon]: Avoid blocking counters while waiting for DB
Xichen96 abf43be
[dhcpmon]: Remove unlocked DB update wrapper
Xichen96 168d2d5
[dhcpmon]: Explain packet callback batch bound
Xichen96 33d646f
[dhcpmon]: Use C++14 shared timed mutex
Xichen96 d3bc0a5
[dhcpmon]: Require a writer token for counter snapshots
Xichen96 525ead3
[dhcpmon]: Keep signal status printing best effort
Xichen96 905cff2
[dhcpmon]: Fix counter synchronization log spacing
Xichen96 cda0c3e
[dhcpmon]: Make counter guard teardown fail-safe
Xichen96 0df5a2e
[dhcpmon]: Release counter lock before STATE_DB writes
Xichen96 005b7d4
[dhcpmon]: Keep counter unlocks RAII-owned
Xichen96 825a109
[dhcpmon]: Reserve counter snapshot socket map
Xichen96 0639733
[dhcpmon]: Pin the C++17 build standard
Xichen96 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
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
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.