In another PR, we refactored the scheduler module to support a new distributed interaction model. At the same time, we need to refactor the procedure module to support procedures being executed in the correct order at the shard level.
What changes are included in this PR?
Refactor ProcedureManager, support serial execution of procedures at the shard level.
Redefined the Procedure interface, adding version and priority-related function.
Modify the existing procedures to adapt to the new model.
Which issue does this PR close?
https://github.com/CeresDB/ceresmeta/issues/145
Rationale for this change
In another PR, we refactored the scheduler module to support a new distributed interaction model. At the same time, we need to refactor the procedure module to support procedures being executed in the correct order at the shard level.
What changes are included in this PR?
ProcedureManager
, support serial execution of procedures at the shard level.Procedure
interface, adding version and priority-related function.Are there any user-facing changes?
None.
How does this change test
Pass all unit tests and integration tests.