[UPGRADE] Make upgrade_post.py reentrant

This commit is contained in:
tino247
2023-02-09 14:10:14 +00:00
committed by ob-robot
parent 7be8e390eb
commit 079e8b9a01
4 changed files with 87 additions and 57 deletions

View File

@ -95,7 +95,6 @@ def do_upgrade(my_host, my_port, my_user, my_passwd, timeout, my_module_set, upg
if run_modules.MODULE_POST_CHECK in my_module_set:
logging.info('================begin to run post check action ===============')
conn.autocommit = True
actions.do_end_upgrade(cur, timeout)
upgrade_post_checker.do_check(conn, cur, query_cur, timeout)
conn.autocommit = False
actions.refresh_commit_sql_list()