[Issue 10477] Reopening LMDB environment clears MDB_MAP_FULL error