If I configure a redis server to have persistence using append only files + specify automatic BGREWRITEAOF like this:
appendonly yes
appendfilename "appendonly.aof"
appendfsync everysec
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
does this mean that when launching a server instance it will pick up the aof file and remove duplicate commands at startup ? If not, is there a way to do to make sure that every time I launch a server instance I don't get duplicates from my aof file?