[
https://issues.apache.org/jira/browse/GOBBLIN-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abhishek Tiwari updated GOBBLIN-276:
------------------------------------
Fix Version/s: 0.12
> 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
> Fix For: 0.12
>
>
> 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)