mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 13:37:04 +00:00
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.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user