I am using aerospike cluster with storage mechanism SSD. I have updated some key but when i restarted aerospike cluster it restoring previous value in place of new value.
WritePolicy writePolicy = new WritePolicy();
writePolicy.recordExistsAction = RecordExistsAction.UPDATE;
writePolicy.generationPolicy = GenerationPolicy.NONE;
Bin whiteList = Bin.asNull("bin1");
Bin blackList = Bin.asNull("bin2");
client.put(writePolicy, key, whiteList, blackList);
I just want last updated value for given key after server restart in place of older value.
How can i handle this case?