[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: MDB_PAGE_FULL
- To: openldap-technical <openldap-technical@openldap.org>
- Subject: Re: MDB_PAGE_FULL
- From: Pieter Martin <pieter.martin@gmail.com>
- Date: Mon, 23 Dec 2013 15:22:04 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Ec3vv8YWlkFQeTLItNo904pDO8yLT++1nfjJMfURkEM=; b=UxqahRyBqzSJhLyszVSVAFgOjDjv2LfdtLe2+kQb8luXAfTsCm16OcoVS/uNCzepb8 ZBX3lgYXJm+e+JVdjhAF3opIUdde+csKyLY5EdXpt8LMEXWKTb7sLTeUbfDpIcMyePxx TlcAKvjeX1oK8aXWrlagkj6yR/hMkQGA/DHDZU2zTptbJ1ZER3P4jAU4J7af2refK1v1 f74pKTzajlOdD1KDi5/l3TfamoO3HCGB/DtRwX4rHsTkubltdzAdcIkx68UGPa9ihENN msMyXjzt0oLyOJoB2GZP/laXy53SMGBTSfMbq2JAMb80M9PGCOlS8gfH6TTGgUniyC3D wCQg==
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
Hi,
I am using lmdb to implement a graph db via java JNI.
Initial results are amazing.
Anyhow I am having trouble with deletions.
I am getting MDB_PAGE_FULL when trying to delete.
A simplified version of the code is as follows.
//set the key
...
while ((rc = mdb_cursor_get(vertexCursor, &key, &data,
MDB_SET_RANGE)) == 0) {
rc = mdb_cursor_del(vertexCursor, 0);
if (rc != 0) {
printf("removeVertex 4 %i\n", rc);
goto fail;
}
//set the key
...
}
The mdb_cursor_del returns a error code -30786 (MDB_PAGE_FULL) on about
the 38th loop.
if there are very few entries then the exception does not happen.
Is there something obvious that I am doing wrong to cause a
MDB_PAGE_FULL exception?
Thanks
Pieter