Skip to content

[Improvement][master] command slot allocation optimization #14271

@eye-gu

Description

@eye-gu

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Currently, all masters occupy the slots allocated by the command. However, when resources are scarce, some masters no longer consume commands, which will result in commands in certain slots being unable to run. When registering a master, both /all and /run lists can be registered at the same time./all offline represents the need for fault tolerance, and /run offline reallocates slots. When the master resource is insufficient, it will be removed from the /run list

目前,所有master都占用command分配的插槽。但是在资源短缺时,一些mater不再消费command, 这将导致某些槽位的command一直无法运行。master在注册时, 可以同时注册/all和/run两个列表,/all下线代表需要容错, /run下线重新分配槽位, master资源不足时将自己从/run列表上下线.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Staleimprovementmake more easy to user or prompt friendly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions