Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

use-aofguard bad directive or wrong number of arguments #16

Open
szyflyinsky opened this issue Dec 11, 2020 · 3 comments
Open

use-aofguard bad directive or wrong number of arguments #16

szyflyinsky opened this issue Dec 11, 2020 · 3 comments

Comments

@szyflyinsky
Copy link

The compiling was successful, and all new parameters including -pointer-based-aof work for me except the "use-aofguard".

src/redis-server --port 30001 --protected-mode yes --appendonly yes --appendfsync everysec --appendfilename 30001.aof --save --daemonize yes --nvm-maxcapacity 128 --nvm-dir /mnt/pmem0 --nvm-threshold 64 --pointer-based-aof yes --use-aofguard yes

when start a redis server with "--use-aofguard yes", below error will prompt:
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 13

'use-aofguard "yes"'
Bad directive or wrong number of arguments

I am sure I've used all the parameters before compiling:
make USE_NVM=yes AEP_COW=yes SUPPORT_PBA=yes USE_AOFGUARD=yes

Any idea why this error is happening?

@pokitpeng
Copy link

same problem

@peifengsi
Copy link
Contributor

Hi, thank you for reporting this issue.
The correct parameter for aofguard is "--aof-write-turbo yes", please try it.

@szyflyinsky
Copy link
Author

szyflyinsky commented Jul 28, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants