Relative Content

Tag Archive for javascriptdatabasecommitrollbacklmdb

How to rollback in LMDB

I have a lmdb database and many tables related with each other. In some scenarios/actions, I need to do a nested transaction which relates many tables. The problem here comes when in the middle of the operation, one of the PUT actions fails and data goes to inconsistent state. Is there some mechanism to rollback the operation and leave it the database as it was before that operation.
If this is not possible, should I find another database with that feature?