apache/incubator-horaedb-meta

Consider refactoring the implementation of BatchProcedure.

ZuLiangWang opened this issue · 0 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