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: 订阅时查询服务实例详情因查询数量过多导致esb内存增加 #2174

Closed
wyyalt opened this issue Apr 17, 2024 · 0 comments
Closed
Assignees
Labels
doing 已经接受处理,正在开发实验

Comments

@wyyalt
Copy link
Collaborator

wyyalt commented Apr 17, 2024

问题描述

简明扼要地描述bug是什么
/bk-nodeman/apps/backend/subscription/tools.py

image image 这里按业务如果很多订阅,会不停的按业务拉取,有些业务机器比较多,这个接口response很大

修复

1.可以考虑增加缓存
2.看下CC接口参数,是否可不查业务所有信息只查订阅指定的主机
3.分页现在是500可以做成可配置的,动态调整

修复方案

功能自测

代码变更覆盖功能点需要自测并截图

功能点 1

描述代码变更涉及功能点及自测截图

功能点 2

描述代码变更涉及功能点及自测截图

...

@wyyalt wyyalt added kind/bug 缺陷 backlog 需求初始状态,等待产品进行评估 labels Apr 17, 2024
ping15 added a commit to ping15/bk-nodeman that referenced this issue Apr 19, 2024
@ping15 ping15 added doing 已经接受处理,正在开发实验 and removed kind/bug 缺陷 backlog 需求初始状态,等待产品进行评估 labels Apr 19, 2024
ping15 pushed a commit to ping15/bk-nodeman that referenced this issue Apr 25, 2024
@ping15 ping15 changed the title fix: 订阅add_process_info_to_instances请求list_service_instance_detail导致esb内存增加问题 fix: 订阅时查询服务实例详情因查询数量过多导致esb内存增加 Apr 25, 2024
@ping15 ping15 added for test 可以在测试环境进行验收 doing 已经接受处理,正在开发实验 and removed doing 已经接受处理,正在开发实验 for test 可以在测试环境进行验收 labels Apr 25, 2024
@wyyalt wyyalt closed this as completed in 9ea4352 Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doing 已经接受处理,正在开发实验
Projects
None yet
Development

No branches or pull requests

2 participants