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

perf: 选择任意一个容器执行时使用随机算法 #3352

Open
jsonwan opened this issue Dec 25, 2024 · 0 comments
Open

perf: 选择任意一个容器执行时使用随机算法 #3352

jsonwan opened this issue Dec 25, 2024 · 0 comments
Assignees
Labels
kind/enhancement 功能改进特性 todo 进入开发排期的状态,纳入了最近的迭代

Comments

@jsonwan
Copy link
Collaborator

jsonwan commented Dec 25, 2024

上层用户可能有失败重试的需求,需要避免在CMDB过滤出的容器列表有序的情况下每次都选到同一个容器。

@jsonwan jsonwan added kind/enhancement 功能改进特性 backlog 需求初始状态,等待产品进行评估 labels Dec 25, 2024
@jsonwan jsonwan self-assigned this Dec 25, 2024
jsonwan added a commit to jsonwan/bk-job that referenced this issue Dec 25, 2024
@bkjob-bot bkjob-bot added todo 进入开发排期的状态,纳入了最近的迭代 and removed backlog 需求初始状态,等待产品进行评估 labels Dec 25, 2024
jsonwan added a commit to jsonwan/bk-job that referenced this issue Dec 25, 2024
1.使用ThreadLocalRandom,用于多线程环境。
jsonwan added a commit that referenced this issue Dec 25, 2024
perf: 选择任意一个容器执行时使用随机算法 #3352
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement 功能改进特性 todo 进入开发排期的状态,纳入了最近的迭代
Projects
None yet
Development

No branches or pull requests

2 participants