diff --git a/src/box/lua/load_cfg.lua b/src/box/lua/load_cfg.lua index 5f6f4aaf2ffb9106bdb01c87cbff284d3a751f83..66790ba77cb9eb9a16c6f59283c5f64e0a0eda38 100644 --- a/src/box/lua/load_cfg.lua +++ b/src/box/lua/load_cfg.lua @@ -48,8 +48,8 @@ local default_cfg = { coredump = false, read_only = false, hot_standby = false, - checkpoint_interval = 0, -- 0 = disabled - checkpoint_count = 6, + checkpoint_interval = 3600, + checkpoint_count = 2, } -- types of available options diff --git a/test/app-tap/init_script.result b/test/app-tap/init_script.result index 492130924165cfc3b282f5854dd5985f11d92d0e..981616036ee23673dd3dd625ca61a4ccdbeadc11 100644 --- a/test/app-tap/init_script.result +++ b/test/app-tap/init_script.result @@ -4,8 +4,8 @@ box.cfg 1 background:false -2 checkpoint_count:6 -3 checkpoint_interval:0 +2 checkpoint_count:2 +3 checkpoint_interval:3600 4 coredump:false 5 force_recovery:false 6 hot_standby:false diff --git a/test/box/admin.result b/test/box/admin.result index 7f166782bacd62f91df0440e9da541ba38aeeac4..bda03bb63c4fe277f3e39668d144687261ca0266 100644 --- a/test/box/admin.result +++ b/test/box/admin.result @@ -21,9 +21,9 @@ cfg_filter(box.cfg) - - - background - false - - checkpoint_count - - 6 + - 2 - - checkpoint_interval - - 0 + - 3600 - - coredump - false - - force_recovery diff --git a/test/box/cfg.result b/test/box/cfg.result index 8bd25f972f7651723ef0716cb4e9e8edd3441576..9392c324207e9ebe5aea0dbc3200c430d06b7551 100644 --- a/test/box/cfg.result +++ b/test/box/cfg.result @@ -17,9 +17,9 @@ cfg_filter(box.cfg) - - - background - false - - checkpoint_count - - 6 + - 2 - - checkpoint_interval - - 0 + - 3600 - - coredump - false - - force_recovery @@ -94,9 +94,9 @@ cfg_filter(box.cfg) - - - background - false - - checkpoint_count - - 6 + - 2 - - checkpoint_interval - - 0 + - 3600 - - coredump - false - - force_recovery diff --git a/test/vinyl/layout.result b/test/vinyl/layout.result index 2c61f7a9543a962bf8084250c1da6fee34925162..3b9d836f5bbbea5f861cb86675d9f26683027efd 100644 --- a/test/vinyl/layout.result +++ b/test/vinyl/layout.result @@ -150,6 +150,11 @@ result type: INSERT BODY: tuple: [11, {}] + - HEADER: + timestamp: <timestamp> + type: INSERT + BODY: + tuple: [7, {2: 1}] - HEADER: timestamp: <timestamp> type: INSERT diff --git a/test/xlog/snapshot_daemon.result b/test/xlog/snapshot_daemon.result index 669910ab3cfe3189c03c8c49de0282ba6663f734..4555a14ed48b10f1c61f0bc12b035dd4c9c2aaa8 100644 --- a/test/xlog/snapshot_daemon.result +++ b/test/xlog/snapshot_daemon.result @@ -16,6 +16,9 @@ test_run = env.new() test_run:cleanup_cluster() --- ... +box.cfg{checkpoint_interval = 0} +--- +... PERIOD = 0.03 --- ... diff --git a/test/xlog/snapshot_daemon.test.lua b/test/xlog/snapshot_daemon.test.lua index 732ac756d033878bae117a9b98a9e47d1e39b7f8..59337e503053e3c9b9d43c623b691a4e936875de 100644 --- a/test/xlog/snapshot_daemon.test.lua +++ b/test/xlog/snapshot_daemon.test.lua @@ -6,6 +6,7 @@ test_run = env.new() test_run:cleanup_cluster() +box.cfg{checkpoint_interval = 0} PERIOD = 0.03 if jit.os ~= 'Linux' then PERIOD = 1.5 end