MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / Main

Function Main

tools/fedb_migrate.py:569–579  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

567
568
569def Main():
570 if options.cmd == "analysis":
571 Analysis()
572 elif options.cmd == "changeleader":
573 ChangeLeader()
574 elif options.cmd == "recovertable":
575 RecoverEndpoint()
576 elif options.cmd == "recoverdata":
577 RecoverData()
578 elif options.cmd == "balanceleader":
579 BalanceLeader()
580
581if __name__ == "__main__":
582 Main()

Callers 1

fedb_migrate.pyFile · 0.85

Calls 5

AnalysisFunction · 0.85
ChangeLeaderFunction · 0.85
RecoverEndpointFunction · 0.85
RecoverDataFunction · 0.85
BalanceLeaderFunction · 0.85

Tested by

no test coverage detected