incubator-horaedb-meta
incubator-horaedb-meta copied to clipboard
Consider refactoring the implementation of BatchProcedure.
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