## Feature Request **Is your feature request related to a problem? Please describe:** TwoPhaseCommitter constructor can not support Customized thread pool size **Describe the feature you'd like:** public TwoPhaseCommitter(TiSession session, long startTime, long lockTTL,ExecutorService executorService) { this( session, startTime, lockTTL, TXN_COMMIT_BATCH_SIZE, TXN_COMMIT_BATCH_SIZE, WRITE_BUFFER_SIZE, 1, true, 3, executorService } **Describe alternatives you've considered:** default pool size too large and every TwoPhaseCommitter obejct have new ExecutorService **Teachability, Documentation, Adoption, Migration Strategy:** TwoPhaseCommitter twoPhaseCommitter = new TwoPhaseCommitter(session, startTime, lockTTL, executorService);
Activity
jackjeyis commentedon Jan 12, 2024
help me see see
add TwoPhaseCommitter new Constructor contains executorService(tikv#774)
add TwoPhaseCommitter new Constructor contains executorService(tikv#774)
[close tikv#774]remove redundant code
[close tikv#774] Add TwoPhaseCommitter new Constructor contains execu…