github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/engine/framework/doc/master_flow.puml (about) 1 @startuml 2 (*) --> "NewMaster(masterType, config, ...)" 3 --> "master.Init(...)" 4 5 if "Metastore key exists" then 6 -->[true] "wait for worker heartbeats" 7 --> "update active worker list" 8 -right-> "init finished" 9 else 10 ->[false] "verify and fix config" 11 -->[update metastore] "init finished" 12 endif 13 @enduml 14