diff options
author | antirez <antirez@gmail.com> | 2018-03-25 11:43:24 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2018-03-25 11:43:30 +0200 |
commit | 28d28ef3cf0fbbc1cf1caf379ed3ae2af0ac6c27 (patch) | |
tree | 780b7054261153dd439a43678bfac20e233be2cf /redis.conf | |
parent | 8b20112860ca769966451477c569973079647b5e (diff) | |
download | redis-28d28ef3cf0fbbc1cf1caf379ed3ae2af0ac6c27.tar.gz |
AOF: enable RDB-preamble rewriting by default.
There are too many advantages in doing this, RDB is faster to persist,
more compact, much faster to load back. The main issues here are that
the code is less tested because this was not the old default (so we are
enabling it for the new 5.0 release), and that the AOF is no longer a
trivially parsable format from now on. However the non-preamble mode
will be supported in the future as well, if new data types will be
added.
Diffstat (limited to 'redis.conf')
-rw-r--r-- | redis.conf | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/redis.conf b/redis.conf index 12eace525..f5b7d5fed 100644 --- a/redis.conf +++ b/redis.conf @@ -778,10 +778,7 @@ aof-load-truncated yes # When loading Redis recognizes that the AOF file starts with the "REDIS" # string and loads the prefixed RDB file, and continues loading the AOF # tail. -# -# This is currently turned off by default in order to avoid the surprise -# of a format change, but will at some point be used as the default. -aof-use-rdb-preamble no +aof-use-rdb-preamble yes ################################ LUA SCRIPTING ############################### |