-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
-
Workaround Exists
-
If a call to ServiceRegistrationImpl.newDependent is made at the exact moment a dependency has just failed (i.e., its failCount equals 1, but none of its dependents have been notified yet), the new dependent will get a duplicate dependencyFailed notification.
The first notification is sent by ServiceControllerImpl.newDependent, the second one, at the moment the new dependency notifies all of its dependents of the failure.
This Jira includes adding a race condition test to reproduce this scenario.