Open igchor opened 4 years ago
After implementing destroy() we should extend tests as in: https://github.com/pmem/libpmemobj-cpp/issues/617
copy pasted from 57:
Efficient way to clear all persisted keys & their values
More important when using device DAX (https://github.com/pmem/pmemkv/issues/60), since formatting the entire device >takes a long time. Truncating can be much faster since only the used portion of the device needs to be reset.
clear - https://github.com/pmem/pmemkv/issues/57 destroy - needed to free the engine itself - especially important when using oids