AOF not supported in swap mode
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
- Connect to ROR Redis server.
- Execute the command:
CONFIG SET appendonly yes. - 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.
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...