Kuai Yu created GOBBLIN-276:
-------------------------------

             Summary: Change setActive order to prevent flow spec loss
                 Key: GOBBLIN-276
                 URL: https://issues.apache.org/jira/browse/GOBBLIN-276
             Project: Apache Gobblin
          Issue Type: Bug
            Reporter: Kuai Yu
            Assignee: Kuai Yu


1. Originally isActive=true is set after onAddSpec was invoked during the 
leadership change. However this has a problem because onAddSpec will forward a 
spec to new leader when isActive==false, but actually current node is already 
the new leader.

2. Put some atomic boolean variable to protect the topology being initialized 
before we load flow specs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to