Closed thinker0 closed 2 years ago
Review @windhamwong @Code0x58
The code looks good to me, but just wonder why the issue happens before this PR. I believe the lock works here well, but finding the root cause might be the key to fix the fundamental issue
In case of redeploy and update, the Topology Object information is conflicted in the tracker, and the normal Topology update is not performed, and the Tracker/UI becomes abnormal.
Fix Update of topology
3820
In case of redeploy and update, the Topology Object information is conflicted in the Tracker, and the normal Topology update is not performed, and the Tracker/UI becomes abnormal.
When watching Zookeeper is used, Race Condition occurs at the same time because part Link/Call is executed at the same time. There are cases where Topology is registered as a duplicate. A lock was used to remove the part where the race condition occurred. Link