Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 文件分发任务,文件源使用GSE 1.0 agentId, 目标主机使用GSE2.0 agentId, 导致任务失败 #2060

Closed
wangyu096 opened this issue May 17, 2023 · 1 comment
Assignees
Labels
done 已上线到正式环境并验收通过 kind/bug 程序故障Bug,漏洞

Comments

@wangyu096
Copy link
Collaborator

wangyu096 commented May 17, 2023

版本

3.7.0 - 3.7.2

现象

文件分发任务,文件源使用GSE 1.0 agentId, 目标主机使用GSE2.0 agentId, 导致任务失败

@wangyu096 wangyu096 added kind/enhancement 功能改进特性 backlog 需求初始状态,等待产品进行评估 labels May 17, 2023
@wangyu096 wangyu096 self-assigned this May 17, 2023
@wangyu096 wangyu096 changed the title perf: 优化灰度对接GSE1.0/2.0日志 fix: 文件分发任务对接GSE1.0/2.0存在问题,文件源使用GSE 1.0 agentId, 目标主机使用GSE2.0 agentId, 导致任务分发失败 May 17, 2023
@wangyu096 wangyu096 changed the title fix: 文件分发任务对接GSE1.0/2.0存在问题,文件源使用GSE 1.0 agentId, 目标主机使用GSE2.0 agentId, 导致任务分发失败 fix: 文件分发任务对接GSE1.0/2.0存在问题,文件源使用GSE 1.0 agentId, 目标主机使用GSE2.0 agentId, 导致任务失败 May 17, 2023
@wangyu096 wangyu096 added kind/bug 程序故障Bug,漏洞 and removed kind/enhancement 功能改进特性 labels May 17, 2023
@wangyu096
Copy link
Collaborator Author

问题分析:

从AgentServiceImpl.getLocalServersDTO() 获取到的本地主机信息,由于是缓存中的原始数据,导致程序运行过程中被修改。应该使用一个克隆之后的实例。

@wangyu096 wangyu096 changed the title fix: 文件分发任务对接GSE1.0/2.0存在问题,文件源使用GSE 1.0 agentId, 目标主机使用GSE2.0 agentId, 导致任务失败 fix: 文件分发任务,文件源使用GSE 1.0 agentId, 目标主机使用GSE2.0 agentId, 导致任务失败 May 17, 2023
@wangyu096 wangyu096 added the todo 进入开发排期的状态,纳入了最近的迭代 label May 17, 2023
@bkjob-bot bkjob-bot added done 已上线到正式环境并验收通过 and removed backlog 需求初始状态,等待产品进行评估 todo 进入开发排期的状态,纳入了最近的迭代 labels May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done 已上线到正式环境并验收通过 kind/bug 程序故障Bug,漏洞
Projects
None yet
Development

No branches or pull requests

2 participants