forked from rdkcentral/rdkservices
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RDKTV-30997, RDKTV-31062 : Re-activate after 5s when monitored plugin…
… crashes (rdkcentral#5473) In the Thunder R4 releases, 1.The lifetime of the plugin status must be learned by ILifeTime notification. 2.The current state machine posts only Activated and Deactivated event. 3.Also, the Deactivated event is posted to all the listeners to give-up the subscription n other things before unloading the plugin library from the execution context. 4.The internal state of plugin managed by Thunder is set to DEACTIVATION and then notifies the clients as mentioned above and finally when dlclose() is done, it sets the state to DEACTIVATED. 5.Meanwhile when Monitor plugin calls ACTIVATE by getting the statechange notification as part of (3) where as the internal state is still DEACTIVATION. 6.This activate request will fail as the unloading of library is still in process. 7.The Monitor plugin must be updated to use ILifeTime or Thunder core has to be updated to use proper eventing. 8.But until then, we can update the Monitor to call activate after 5s when it receives deactivated notification. Test Procedure: Verified in Jenkins Build Risks: High Signed-off-by: Thamim Razith <[email protected]>
- Loading branch information
Showing
4 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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 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 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 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