No way to delete memory pool via libpmemobj API?

22 views
Skip to first unread message

Matthew Emmerton

unread,
Oct 3, 2016, 9:13:53 AM10/3/16
to pmem
I'm currently using libpmemobj to use NVM as a transactional object store.

What is puzzling me is that there exists a pmemobj_create() to create a transactional pool, pmemobj_open() and pmemobj_close() to open/close (attach/detatch) the pool, but I couldn't find any corresponding method to delete/destroy the pool when it is no longer needed!

Is destroying a pool currently only supported through the pmempool tool?

R. David Murray

unread,
Oct 3, 2016, 9:34:31 AM10/3/16
to pmem
It also looks like a file, so just close it and use normal file
operations to delete the file.

--David
Reply all
Reply to author
Forward
0 new messages