Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AOF not supported in swap mode #263

Open
pangtujun opened this issue Feb 23, 2024 · 1 comment
Open

AOF not supported in swap mode #263

pangtujun opened this issue Feb 23, 2024 · 1 comment

Comments

@pangtujun
Copy link

Describe the bug

When attempting to enable AOF (append-only file) in Redis-On-Rocks (ROR), an error "ERR Invalid argument 'yes' for CONFIG SET 'appendonly' - swap mode is non-memory mode, cannot open aof" is encountered.

To reproduce

  1. Connect to ROR Redis server.
  2. Execute the command: CONFIG SET appendonly yes.
  3. Observe the error message returned.

Expected behavior

The AOF should be successfully enabled in ROR without encountering any errors.

Additional information

It seems that ROR is running in non-memory mode (swap mode), which prevents the AOF from being opened. Further investigation into the configuration and operating mode of ROR may be necessary to resolve this issue.

@patpatbear
Copy link

AOF is not fully support yet(aofrewrite for cold data is not implemented), so ROR refuse to open AOF when running in disk mode.

flagging this issue help wanted...

@patpatbear patpatbear changed the title [BUG] AOF not supported in swap mode Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants