|
|
@ -3451,11 +3451,11 @@ def doFullSyncUser(version=''): |
|
|
|
db.query("start all slaves") |
|
|
|
db.query("start all slaves") |
|
|
|
time_all_e = time.time() |
|
|
|
time_all_e = time.time() |
|
|
|
cos = time_all_e - time_all_s |
|
|
|
cos = time_all_e - time_all_s |
|
|
|
writeDbSyncStatus({'code': 6, 'msg': '总耗时'+str(int(cos))+'从库重启完成...', 'progress': 100}) |
|
|
|
writeDbSyncStatus({'code': 6, 'msg': '总耗时:'+str(int(cos))+'秒,从库重启完成...', 'progress': 100}) |
|
|
|
|
|
|
|
|
|
|
|
if os.path.exists(bak_file): |
|
|
|
if os.path.exists(bak_file): |
|
|
|
os.system("rm -rf " + bak_file) |
|
|
|
os.system("rm -rf " + bak_file) |
|
|
|
|
|
|
|
|
|
|
|
return True |
|
|
|
return True |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|