Why, after a warm restart am I seeing a negative device bytes error 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
PMEM NEGATIVE DEVICE BYTES