Replies: 4 comments
-
All of this proposal could be discussed, feel free to comment. |
Beta Was this translation helpful? Give feedback.
-
The MVP LGTM. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
update: turns out |
Beta Was this translation helpful? Give feedback.
-
Proposers
@my-ship-it @Ray-Eldath
No response
Proposal Status
Under Discussion
Abstract
Process Management Refactor(PMR for short, off hand).
The final goal of PMR is to manage processes of CBDB in a cloud native way.
Current CBDB allocate\deallocate Gangs by QD, and each QD have to keep connection with all QEs.
For the plan to execute on QEs, QD build and dispatch them after gang created.
However, we could make QD only send a request to allocate/deallocate gangs on segment postmaster process.
And later plan info could be dispatched to segment postmaster who will take response to sync that to QEs.
We could save a lot when there are more segments or parallel processes.
This(PMR) is a long-term project, for the first Most-Value-Product-0(MVP0),
out target is: QD dispatch plan info(to be executed for QEs) to only one QE(Writer Gang), and Writer Gang sync that plan info to other Reader Gangs.
That is, QD only dispatch plan once, not to all Gangs.
The sync way of plan info is like snapshot sync between Writer Gang and Reader Gangs.
Motivation
The final goal of PMR is to manage processes of CBDB in a cloud native way.
Implementation
To be discussed.
Rollout/Adoption Plan
No response
Are you willing to submit a PR?
Beta Was this translation helpful? Give feedback.
All reactions