Skip to content
Snippets Groups Projects
Commit 27b86b1d authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Konstantin Osipov
Browse files

box: require box.cfg.checkpoint_count to be >= 1

We must store at least one snapshot, otherwise we wouldn't recover
after restart, so if checkpoint_count is set to 0, we disable garbage
collection. This contravenes the notion followed everywhere else in
tarantool: if we want an option value (timeout, checkpoint count, etc)
to be infinite, we should set it to a very big number, not to 0.
Make checkpoint_count comply.
parent 2c547c26
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment