Closed hshukla closed 10 months ago
As part of https://github.com/linkedin/brooklin/pull/975 where we used
synchronized (this) {...}
it was giving lock on the CoordinatorEventProcessor instance. However, we need a lock on the Coordinator class, hence the notifyAll was not working as expected.
CoordinatorEventProcessor
Coordinator
This PR fixes the above regression by introducing
synchronized (Coordinator.class) {
As part of https://github.com/linkedin/brooklin/pull/975 where we used
it was giving lock on the
CoordinatorEventProcessor
instance. However, we need a lock on theCoordinator
class, hence the notifyAll was not working as expected.This PR fixes the above regression by introducing