You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two Device shadows are associated (as in a gateway scenerio), but no update has been sent so the update/accepted and update/rejected topics are not yet subscribed to.
Process to Re-Create:
Remove connectivity from the library
Attempt to update one of the shadows, receive a subscribeTimoutException
Attempt to update the second shadow
Result
The call to update the second shadow never returns. The offending call is here:
On line 68 a lock is acquired. Notice that on lines 71, 73, and 74, a subscribeTimeoutException may be raised (as happened in the second step to recreate), jumping past the lock release call on line 76. Any cases of locks being acquired/released should be using context managers or exception handling to ensure that the lock is released if an operation fails.
The text was updated successfully, but these errors were encountered:
Preconditions:
update/accepted
andupdate/rejected
topics are not yet subscribed to.Process to Re-Create:
Result
The call to update the second shadow never returns. The offending call is here:
On line 68 a lock is acquired. Notice that on lines 71, 73, and 74, a subscribeTimeoutException may be raised (as happened in the second step to recreate), jumping past the lock release call on line 76. Any cases of locks being acquired/released should be using context managers or exception handling to ensure that the lock is released if an operation fails.
The text was updated successfully, but these errors were encountered: