apache / incubator-horaedb-meta

Meta service of HoraeDB cluster.
https://horaedb.apache.org
Apache License 2.0
27 stars 15 forks source link

Consider refactoring the implementation of BatchProcedure. #213

Open ZuLiangWang opened 1 year ago

ZuLiangWang commented 1 year ago

Description At present, BatchProcedure controls the number of single-batch executions through ProcedureExecutingBatchSize, but this quantity control is implemented in Scheduler instead ofBatchProcedure. 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