The Aerospike Knowledge Base has moved to https://support.aerospike.com. Content on https://discuss.aerospike.com is being migrated to either https://support.aerospike.com or https://docs.aerospike.com. Maintenance on articles stored in this repository ceased on December 31st 2022 and this article may be stale. If you have any questions, please do not hesitate to raise a case via https://support.aerospike.com.
FAQ: Why am I seeing a negative device bytes error when using storage-engine pmem?
Detail
Why, after a warm restart am I seeing a negative device bytes error when using storage-engine pmem
?
Answer
When using storage-engine pmem
you may come across an entry in your aerospike.log
file along the lines of:
WARNING (namespace): (namespace.c:550) set-id 1 - negative device bytes!
This is caused by a known issue whereby during a warm restart, a statistic is not correctly initialized, which in turn results in a situation where Aerospike Server believes the PMEM storage has a negative size. You will likely see this error printed once for every record held on the storage during the warm restart
This error poses no risk to the data stored on the device, and has been resolved in hotfix AER-6478, which is available in Aerospike Server 5.2.0.36, 5.3.0.26, 5.4.0.21, 5.5.0.19 and 5.6.0.13 onwards
Keywords
PMEM NEGATIVE DEVICE BYTES
Timestamp
September 2021