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

[redis] Design limitation of Configdbconnector could lead to a blackout when using listen #9021

Closed
vivekrnv opened this issue Oct 20, 2021 · 3 comments

Comments

@vivekrnv
Copy link
Contributor

Description

Exact issue seen in the hostcfgd is documented here #8619. (Hostcfgd using configdbconnector is the reason here)

To mitigate this either config_db.listen() can be modified to read the existing data and treat them like an incoming message.

or the usage of ConfigDBConnector connector can be replaced by SubscriberStateTable which already follows this design

Describe the results you received:

Describe the results you expected:

Output of show version:

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

@vivekrnv vivekrnv changed the title [swsscommon] Design limitation of Configdbconnector could lead to a blackout when using listen [redis] Design limitation of Configdbconnector could lead to a blackout when using listen Oct 20, 2021
@dgsudharsan
Copy link
Collaborator

@qiluo-msft @renukamanavalan FYI

@dgsudharsan
Copy link
Collaborator

@zhangyanzhao This is a documentation of existing limitation we found with Configdbconnector as requested by @qiluo-msft . Community must plan to move from using configdbconnector to SubscriberStateTable on existing Daemons.

@vivekrnv
Copy link
Contributor Author

Fixed by sonic-net/sonic-swss-common#587

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

No branches or pull requests

2 participants