matrixorigin / matrixorigin/matrixone

[Tech Request]: pipeline build the plan by considering diff cn #cpu and #mem

Open
#17,935 1 comment 0 reactions 1 assignee Assigned to @aunjgr View on GitHub
kind/tech-request priority/p1
Dominant language
Go
Stars
1.9k
Forks
311
Avg merge
1d 3h
Merged PRs (30d)
768

Description

### Is there an existing issue for the same tech request?

- [X] I have checked the existing issues.

### Does this tech request not affect user experience?

- [X] This tech request doesn't affect user experience.

### What would you like to be added ?

```Markdown
pipeline build the phy plan NEEDs consider CNs' real #cpu and #mem resources. NOT ALL CN have same #cpu resource.
```

### Why is this needed ?

Base on scale up/down NEEDs from Cloud, https://github.com/matrixorigin/matrixone/issues/16537 passing cn's real #cpu and #mem to the clusterservice / hakeeper.

`getCNList()` returns CN List with real resources setting.

In acting scale-up/scale-down env (for example MOCloud), CNs in the same account group have diff #cpu and #mem resources.

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.