3
我正在使用針對Aerospike的永久存儲器。下面是相同的配置。我使用python客戶端時,我刪除使用的密鑰:刪除記錄不適用於Aerospike永久存儲器
client.remove(key)
數據被刪除。現在,當我重新啓動服務器時,數據又回來了。這是它應該如何工作,或者我做錯了什麼?
配置文件:
namespace xxx {
replication-factor 2
memory-size 2G
default-ttl 60d # 5 days, use 0 to never expire/evict.
# To use file storage backing, comment out the line above and use the
# following lines instead.
storage-engine device {
file /opt/aerospike/data/xxx.dat
filesize 4G
data-in-memory true # Store data in memory in addition to file.
write-block-size 128K
}
}
有一個變通的一樣嗎?