FAQ - Why do records disappear when a node is brought into a cluster?

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 do records disappear when a node is brought into a cluster?

Detail

Why do records suddenly get removed from a cluster when a node that was formerly part of this or another cluster is added? The newly-added node has had its data disks completely wiped, so it shouldn’t have anything that affects data.

Answer

Although the records themselves live on the devices specified in the configuration file, there is some important information also kept in the system metadata (SMD) directory. This includes potential truncate times (before which records should be removed) for sets and namespaces that have had truncate or truncate-namespace performed on them.

Notes

Use caution when returning a node to the cluster. This phenomenon can result in unexpected data loss. Deleting all files in the SMD directory before returning the node and letting them be repopulated from other nodes in the cluster is the safer option.

Keywords

SMD TRUNCATE TRUNCATE-NAMESPACE REUSE RECYCLE RETURN BRING BACK NEW NODE WIPE ZEROIZE DISK

Timestamp

June 2020