Skip to content

Commit d80762e

Browse files
xiepaupiSecloud
authored andcommitted
fix(redis): ssd创建备份log-count #8857
1 parent 3ed1f8f commit d80762e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbm-ui/backend/flow/engine/bamboo/scene/redis/atom_jobs/redis_makesync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def backup_and_restore(
247247
act_kwargs.cluster["backup_host"] = params[data_from]
248248
act_kwargs.cluster["backup_instances"] = []
249249
act_kwargs.cluster["ssd_log_count"] = {
250-
"log-count": 600000,
250+
"log-count": 16789000, # 让master 多保留点日志 2k/s 的写入保留2.5个小时 (备份+传输)
251251
"log-keep-count": 20000000,
252252
"slave-log-keep-count": 20000000,
253253
}

0 commit comments

Comments
 (0)