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

Batch additional certificate events after write/create #334

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

Conversation

zbud-msft
Copy link
Contributor

Why I did it

When multiple certificate files are rotated, gnmi server will receive multiple events for each certificate rotated which can cause consecutive server stops and starts. To avoid these consecutive starts and stops, after a write or create event, we will read for additional events to batch them together with this notification.

How I did it

Batch events after write or create event for a few seconds.

How to verify it

sonic-mgmt testcase, UT

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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