Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 1.2.1
-
None
-
None
Description
There is a deadlock in the statestore when unregistering a subscriber and also building a topic update. This is because UnregisterSubscriber() first takes the subscribers_ lock and then takes the topics_ lock to remove all transient entries. In ProcessOneSubscriber() we take the topics_ lock and then the subscribers_ lock in GetMinSubscriberTopicVersion() to build an update to send. This can clearly lead to a deadlock.