FAQ - Why am I seeing a negative device bytes error when using storage-engine pmem?

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

© 2021 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.