Skip to content

Commit

Permalink
fix(redis): 备份上传失败但是flow认为成功问题 TencentBlueKing#7899
Browse files Browse the repository at this point in the history
  • Loading branch information
OMG-By committed Nov 14, 2024
1 parent 8bf4766 commit 371e486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion dbm-services/redis/redis-dts/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ func LookupDbDNSIPs(addr01 string) (addrs []string, err error) {
}
ipPart := list01[0]
portPart := list01[1]
// TODO 这个地方会卡16分钟,后面需要想一下怎么更好的区优化
if IsDbDNS(ipPart) {
uniqMap := make(map[string]bool)
var idx int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,8 @@ class TbTendisDtsTask(models.Model):
dst_password = models.CharField(max_length=128, default="", verbose_name=_("目的密码base64值"))
# task类型,当前迁移任务到哪个阶段,包含tendis_backup, backupfile_fetch,tendisdump,sql_impoter,make_sync等
task_type = models.CharField(max_length=128, default="", verbose_name=_("task类型"))
tendisbackup_file = models.CharField(
null=True, blank=True, max_length=512, default="", verbose_name=_("tendisssd slave上bakup文件位置")
)
fetch_file = models.CharField(
null=True, blank=True, default="", max_length=512, verbose_name=_("backup文件拉取到dts_server本地位置")
)
tendisbackup_file = models.CharField(max_length=512, default="", verbose_name=_("tendisssd slave上bakup文件位置"))
fetch_file = models.CharField(default="", max_length=512, verbose_name=_("backup文件拉取到dts_server本地位置"))
sqlfile_dir = models.CharField(default="", max_length=512, verbose_name=_("tendisdumper得到的sql文件夹"))
syncer_port = models.IntegerField(default=0, verbose_name=_("redis-sync端口"))
syncer_pid = models.IntegerField(default=0, verbose_name=_("sync的进程id"))
Expand Down

0 comments on commit 371e486

Please sign in to comment.