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: 主机AgentId更新后,小概率出现使用旧AgentId下发任务 #2142 #2178

Merged
merged 3 commits into from
Jun 30, 2023

Commits on Jun 29, 2023

  1. fix: 主机AgentId更新后,小概率出现使用旧AgentId下发任务 TencentBlueKing#2142

    1.更新/删除主机前,对比cmdb主机数据获取时间与当前DB数据最后更新时间,防止旧数据覆盖新数据;
    2.去除批量更新主机长事务;
    jsonwan committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    b6a498b View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. fix: 主机AgentId更新后,小概率出现使用旧AgentId下发任务 TencentBlueKing#2142

    1.去除主机数据更新与主机关系数据更新间的耦合;
    2.全量更新改为增量更新;
    3.去除对主机表中拓扑数据的引用,后续去除冗余拓扑字段。
    jsonwan committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    e8d0468 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6906819 View commit details
    Browse the repository at this point in the history