-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pybind/mgr/progress: enforced try and except on accessing event dicti…
…onary There is a certain race condition scenario where an event gets deleted while the progress module iterates through the ``events`` dictionary, without a ``try and except``, this will cause an unhandled exception error and will crash the module. This commit will enforce ``try and except`` on every part of the code where we are accessing the ``events`` dictionary. Fixes: https://tracker.ceph.com/issues/53803 Signed-off-by: Kamoltat <ksirivad@redhat.com>
- Loading branch information
Showing
1 changed file
with
24 additions
and
16 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