Skip to content

Commit

Permalink
fix: 修复定点回档备份时间key错误 #7984
Browse files Browse the repository at this point in the history
  • Loading branch information
zfrendo authored and iSecloud committed Nov 15, 2024
1 parent 69d376b commit 96d1b3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dbm-ui/backend/configuration/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# sqlserver的用户登录admin账号名称
SQLSERVER_ADMIN_USER = "dbm_admin"
# TODO: job超时时间最大为86400,后续考虑让job平台调大限制
MYSQL_DATA_RESTORE_TIME = 86400
MYSQL_DATA_RESTORE_TIME = 259200
MYSQL_USUAL_JOB_TIME = 7200
MYSQL8_VER_PARSE_NUM = 8000000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def mysql_rollback_data_sub_flow(

if is_rollback_binlog:
backup_time = str2datetime(backup_info["backup_time"], "%Y-%m-%d %H:%M:%S")
cluster["backup_time"] = backup_time
binlog_result = get_backup_binlog(
cluster_id=cluster_model.id,
start_time=backup_time,
Expand Down

0 comments on commit 96d1b3d

Please sign in to comment.