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

RDKB-50101:RBUS Event Producer can have multiple instances of the same Subscriber #172

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

NetajiPanigrahi
Copy link
Contributor

@NetajiPanigrahi NetajiPanigrahi commented Oct 20, 2023

Reason for change: While recovering from a crash, the provider is unaware of a valid rbus_open connection of consumer, so it lead to multiple instances of the same Subscriber. Before loading old subscriptions from the cache file, a "/tmp/.rbus/ConsumerPID_ComponentID" file existence check is now performed.

Signed-off-by: Netaji Panigrahi [email protected]

…e Subscriber

Reason for change: While recovering from a crash, the provider is unaware of a valid rbus_open connection of consumer,so it lead to duplicate entres of subscriptions. Before loading old subscriptions from the cache file, a "/tmp/.rbus/<ConsumerPID>_<ComponentId>" file existence check is now performed.

Signed-off-by: Netaji Panigrahi [email protected]
@karuna2git karuna2git merged commit bb53bef into rdkcentral:main Oct 21, 2023
1 check passed
karuna2git pushed a commit that referenced this pull request Nov 9, 2023
…e Subscriber (#172)

Reason for change: While recovering from a crash, the provider is unaware of a valid rbus_open connection of consumer,so it lead to duplicate entres of subscriptions. Before loading old subscriptions from the cache file, a "/tmp/.rbus/<ConsumerPID>_<ComponentId>" file existence check is now performed.

Signed-off-by: Netaji Panigrahi [email protected]

Signed-off-by: Netaji Panigrahi [email protected]
@NetajiPanigrahi NetajiPanigrahi deleted the RDKB-50101 branch July 9, 2024 05:28
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