From ee1c240f2afa57dfa17cbad7be8a5b47a8425155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20J=C4=99drzejczak?= Date: Fri, 14 Jul 2023 15:35:17 +0200 Subject: [PATCH] replica: do not derive the commitlog sync period for schema commitlog We don't want to apply the value of the commitlog_sync_period_in_ms variable to schema commitlog. Schema commitlog runs in batch mode, so it doesn't need this parameter. --- replica/database.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/replica/database.cc b/replica/database.cc index 046e4570f4..eb4356347b 100644 --- a/replica/database.cc +++ b/replica/database.cc @@ -952,7 +952,6 @@ void database::maybe_init_schema_commitlog() { c.metrics_category_name = "schema-commitlog"; c.commitlog_total_space_in_mb = 10 << 20; c.commitlog_segment_size_in_mb = _cfg.schema_commitlog_segment_size_in_mb(); - c.commitlog_sync_period_in_ms = _cfg.commitlog_sync_period_in_ms(); c.mode = db::commitlog::sync_mode::BATCH; c.extensions = &_cfg.extensions(); c.use_o_dsync = _cfg.commitlog_use_o_dsync();