Redis-On-Rocks icon indicating copy to clipboard operation
Redis-On-Rocks copied to clipboard

AOF not supported in swap mode

Open pangtujun opened this issue 1 year ago • 1 comments

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.

pangtujun avatar Feb 23 '24 08:02 pangtujun

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 avatar Mar 08 '24 06:03 patpatbear