feat(sync): set batch-size 1

This commit is contained in:
Minghao Li 2022-08-01 20:26:45 +08:00
parent af683b1e6c
commit 2c1846214d
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ int32_t vnodeSyncOpen(SVnode *pVnode, char *path) {
SSyncInfo syncInfo = {
.snapshotStrategy = SYNC_STRATEGY_WAL_FIRST,
//.snapshotStrategy = SYNC_STRATEGY_NO_SNAPSHOT,
.batchSize = 10,
.batchSize = 1,
.vgId = pVnode->config.vgId,
.isStandBy = pVnode->config.standby,
.syncCfg = pVnode->config.syncCfg,