Enabling durable-delete in AQL


#1

In C client, by default the deleted records are not tombstoned. However, we can enable durable delete in the ‘remove policy’. Likewise, I’m assuming that AQL doesn’t tombstone the deleted record by default. So, when deleting a record via AQL, how can we ensure that it’s tombstoned?


#2

Consider a record in namespace “ns1”, set name “dd” , user key = “key1”, you can durably delete via AQL as follows: (Aerospike server must be running Enterprise Edition)

aql> SET DURABLE_DELETE TRUE

aql> DELETE FROM ns1.dd WHERE PK = 'key1’


#3

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.