Disabling AOF rewrite on 2.2

33 views
Skip to first unread message

Mark Dodwell

unread,
Sep 1, 2015, 2:42:36 AM9/1/15
to Redis DB
I know in later versions you can use `auto-aof-rewrite-percentage 0` to disable automatic AOF rewrites. That config setting is not present in 2.2:

```
$ redis-cli info | grep version
redis_version:2.2.12

$ redis-cli config set auto-aof-rewrite-percentage 0
(error) ERR Unsupported CONFIG parameter: auto-aof-rewrite-percentage
```

Is there a way to disable automatic AOF rewrites in 2.2?

Thanks,

~ Mark


Greg Andrews

unread,
Sep 1, 2015, 3:30:08 AM9/1/15
to redi...@googlegroups.com
My reading of http://redis.io/topics/persistence#log-rewriting is that v2.2 does not automatically rewrite AOL files.  A client must connect and issue the BGREWRITEAOF command.  The next to last paragraph in the BGREWRITEAOF command description also indicates that.

  -Greg

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages