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: 主机AgentId更新后,小概率出现使用旧AgentId下发任务 #2142
Comments
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jun 29, 2023
1.更新/删除主机前,对比cmdb主机数据获取时间与当前DB数据最后更新时间,防止旧数据覆盖新数据; 2.去除批量更新主机长事务;
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jun 29, 2023
1.去除主机数据更新与主机关系数据更新间的耦合; 2.全量更新改为增量更新; 3.去除对主机表中拓扑数据的引用,后续去除冗余拓扑字段。
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jun 29, 2023
1.去除主机数据更新与主机关系数据更新间的耦合; 2.全量更新改为增量更新; 3.去除对主机表中拓扑数据的引用,后续去除冗余拓扑字段。
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jun 29, 2023
1.去除主机数据更新与主机关系数据更新间的耦合; 2.全量更新改为增量更新; 3.去除对主机表中拓扑数据的引用,后续去除冗余拓扑字段。
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jun 29, 2023
1.去除主机数据更新与主机关系数据更新间的耦合; 2.全量更新改为增量更新; 3.去除对主机表中拓扑数据的引用,后续去除冗余拓扑字段。
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jun 29, 2023
1.去除主机数据更新与主机关系数据更新间的耦合; 2.全量更新改为增量更新; 3.去除对主机表中拓扑数据的引用,后续去除冗余拓扑字段。
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jun 30, 2023
1.去除主机数据更新与主机关系数据更新间的耦合; 2.全量更新改为增量更新; 3.去除对主机表中拓扑数据的引用,后续去除冗余拓扑字段。
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jun 30, 2023
wangyu096
added a commit
that referenced
this issue
Jun 30, 2023
fix: 主机AgentId更新后,小概率出现使用旧AgentId下发任务 #2142
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jun 30, 2023
修复获取agent状态失败导致的事件处理异常
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jun 30, 2023
修复获取agent状态失败导致的事件处理异常
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jun 30, 2023
修复获取agent状态失败导致的事件处理异常
wangyu096
added a commit
that referenced
this issue
Jun 30, 2023
fix: 主机AgentId更新后,小概率出现使用旧AgentId下发任务 #2142
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jul 4, 2023
1. 批量查询主机拓扑关系,提升接口性能; 2. 修复trace数据上报。
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jul 4, 2023
1. 批量查询主机拓扑关系,提升接口性能; 2. 修复trace数据上报。
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jul 4, 2023
1. 批量查询主机拓扑关系,提升接口性能; 2. 修复trace数据上报。
wangyu096
added a commit
that referenced
this issue
Jul 4, 2023
fix: 主机AgentId更新后,小概率出现使用旧AgentId下发任务 #2142
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version / Branch / tag
master
出了什么问题?(What Happened?)
主机AgentId更新后,小概率出现使用旧AgentId下发任务
原因:
主机AgentId更新事件已被监听并处理,但事件前一刻该主机对应的业务正好在同步主机,同步拿到的旧数据将事件新数据覆盖了,导致新的主机信息需要在一个同步周期后才能再被更新为正确的数据。
如何复现?(How to reproduce?)
节点管理更新AgentId到CMDB后,20s内再调用Job接口分发文件,小概率出现超时失败
预期结果(What you expect?)
只要Job收到CMDB主机事件并处理后,分发就应当成功
The text was updated successfully, but these errors were encountered: