apache / incubator-horaedb-meta

Meta service of HoraeDB cluster.

Home Page:https://horaedb.apache.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider refactoring the implementation of BatchProcedure.

ZuLiangWang opened this issue · comments

Description
At present, BatchProcedure controls the number of single-batch executions through ProcedureExecutingBatchSize, but this quantity control is implemented in Scheduler instead of BatchProcedure. We may need to divide a single batch of Procedures into multiple batches of batch execution in a manner similar to flow control.

Proposal
Refactor BatchProcedure to internally batch execution.

Additional context