Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Sometimes AOF can grow unlimited ? #716

vsespb opened this Issue · 0 comments

1 participant


What will happen if someone rely on auto-AOF-rewrite, but redis server often restarts ?

According to this code
the restart (in default config) triggered when AOF size > 2*original AOF size. And original aof size
is picked when server starts (or when AOF rewrite happening)

so if I restart server too often AOF will grow unlimited ?

I think there should be option to set max AOF size to trigger rewrite when it's reached.
or, at least, existing behavious should be documented.

p.s. note
in modern "cloud" environments it's sometimes common to kill/restart servers when deploy or in case of minor faulure etc
so redis restart can happen often (especially for development and staging environments).

@JackieXie168 JackieXie168 referenced this issue from a commit
@neumino neumino Declaring a machine dead is almost correctly handled by the UI. We sh…
…ould just bind the sharding list to ??? to refresh it (like when we add a server to a datacenter to satisfy goals). Issue #716 and issue #634
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.