[Date Prev][Date Next]
(ITS#7829) MDB mdb_cursor_del causes records to be skipped
Full_Name: Armon Dadgar
Submission from: (NULL) (126.96.36.199)
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.