If running into MDB_MAP_FULL error it would be nice to have option to resize map without need to re-create environment. As long as no active transaction is open, call to mdb_env_set_mapsize() would allow resizing on open environment.
I added wrapper method to Environment plus a test.
Tested in my project resizing multiple times with a couple of MB of data.
If running into MDB_MAP_FULL error it would be nice to have option to resize map without need to re-create environment. As long as no active transaction is open, call to mdb_env_set_mapsize() would allow resizing on open environment. I added wrapper method to Environment plus a test. Tested in my project resizing multiple times with a couple of MB of data.