Detail
After upgrading Aerospike Database version to 7.x I get the following error in the server logs:CRITICAL (config): (cfg.c:1605) line 69 :: 'memory-size'
Answer
Issue is due to the fact that the memory-size setting has been deprecated and no longer required for storage-engine hybrid configurations. To resolve the issue comment out or remove the memory-size setting from your aerospike.conf config file.
The memory-size parameter functions as a guide for managing stop-write and eviction operations; it does not directly allocate physical RAM for the namespace. In version 7.0, specifying memory-size in aerospike.conf is invalid as this parameter is obsolete.
There is no direct replacement for this parameter. The new parameters stop-writes-sys-memory-pct and evict-sys-memory-pct can be used to control stop-writes and eviction thresholds. These parameters have replaced the stop-writes-pct and high-water-memory-pct settings
Notes
- More details on storage-engine configuration can be found here.
- Specify data-size for "storage-engine memory" configuration with no backing storage device or file.