[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#7829) MDB mdb_cursor_del causes records to be skipped
Full_Name: Armon Dadgar
Version:
OS:
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (50.78.97.10)
I have an issue where when iterating over data and deleting keys, the cursor
will incorrectly skip rows, and then returns an early NOTFOUND even though more
records still exist.
I have a gist demonstrating this: https://gist.github.com/armon/9825666
I am using small Go wrapper around LMDB, version 0.9.11.
The expected behavior is to numbers 1..91 printed. However, when I run it,
it gets to 16 and returns no further rows.