[PINS] Add APPL_STATE_DB and response path log rotation#9082
Merged
prsunny merged 1 commit intosonic-net:masterfrom Nov 24, 2021
Merged
[PINS] Add APPL_STATE_DB and response path log rotation#9082prsunny merged 1 commit intosonic-net:masterfrom
prsunny merged 1 commit intosonic-net:masterfrom
Conversation
Contributor
Author
|
cc: @mint570 |
mint570
reviewed
Oct 27, 2021
Contributor
There was a problem hiding this comment.
This is APPL STATE DB record. We haven't look at multi asic support yet.
Contributor
Author
|
@prsunny please take look |
96cddbc to
3be0fd4
Compare
af53b23 to
eca314b
Compare
Contributor
Author
eca314b to
91a8432
Compare
Contributor
Author
|
Rebased to latest master |
prsunny
previously approved these changes
Nov 23, 2021
Contributor
Author
|
/azpw run Azure.sonic-buildimage |
Collaborator
|
/AzurePipelines run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Commenter does not have sufficient privileges for PR 9082 in repo Azure/sonic-buildimage |
Contributor
Author
|
/azpw run Azure.sonic-buildimage |
Collaborator
|
/AzurePipelines run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azpw run Azure.sonic-buildimage |
Collaborator
|
/AzurePipelines run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
- Add APPL_STATE_DB to database_config.json
- Clear APPL_STATE_DB during SwSS container restarts
- Add response path log file to logrotate config:
responsepublisher.rec
Submission containing materials of a third party:
Copyright Google LLC; Licensed under Apache 2.0
Co-authored-by: Mike Attig <mikeattig@google.com>
Co-authored-by: Runming Wu <runmingwu@google.com>
Co-authored-by: Akarsh Gupta <akarshgupta@google.com>
Signed-off-by: Brian O'Connor <bocon@opennetworking.org>
91a8432 to
1baca65
Compare
Contributor
Author
|
@prsunny, the checks are passing now. Can you reapprove and merge? Thanks! |
prsunny
approved these changes
Nov 24, 2021
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
responsepublisher.rec
Submission containing materials of a third party:
Copyright Google LLC; Licensed under Apache 2.0
Co-authored-by: Mike Attig mikeattig@google.com
Co-authored-by: Runming Wu runmingwu@google.com
Co-authored-by: Akarsh Gupta akarshgupta@google.com
Why I did it
Adds support for APPL_STATE_DB and response path required for PINS.
Described in this HLD:
https://github.com/pins/SONiC/blob/master/doc/pins/appl_state_db_response_path_hld.md
How to verify it
Any build should do the trick, then verify that the APPL_STATE_DB is empty after restarting swss.
Which release branch to backport (provide reason below if selected)
None
Description for the changelog
Add APPL_STATE_DB and response path log rotation