good afternoon;
i understand from
https://www.openldap.org/lists/openldap-devel/201410/msg00004.html
that one should not expect this to happen, but we observed it today.
mdb.c:2427: Assertion 'mp->mp_pgno != pgno' failed in mdb_page_touch() Stack trace (most recent call last): … #10 Source "../../lib/lmdbxx.h", line 597, in put<dydra::sha1, unsigned int> [0x7f29dcc68690] #9 Source "../../lib/lmdbxx.h", line 569, in put [0x7f29dcc6856d] #8 Source "/usr/local/include/lmdb++.h", line 779, in dbi_put [0x7f29dcc5ed42] #7 Source "/development/source/library/com/github/LMDB/lmdb/libraries/liblmdb/mdb.c", line 8985, in mdb_put [0x7f29dcff1b8f] #6 Source "/development/source/library/com/github/LMDB/lmdb/libraries/liblmdb/mdb.c", line 6615, in mdb_cursor_put [0x7f29dcfeef81] #5 Source "/development/source/library/com/github/LMDB/lmdb/libraries/liblmdb/mdb.c", line 6473, in mdb_cursor_touch [0x7f29dcfebd05] #4 Source "/development/source/library/com/github/LMDB/lmdb/libraries/liblmdb/mdb.c", line 5620, in mdb_page_search [0x7f29dcfea70f] #3 Source "/development/source/library/com/github/LMDB/lmdb/libraries/liblmdb/mdb.c", line 2427, in mdb_page_touch [0x7f29dcfea241] #2 Source "/development/source/library/com/github/LMDB/lmdb/libraries/liblmdb/mdb.c", line 1536, in mdb_assert_fail [0x7f29dcff3ac1] #1 Source "/build/glibc-e6zv40/glibc-2.23/stdlib/abort.c", line 89, in abort [0x7f29daaec039] #0 Source "../sysdeps/unix/sysv/linux/raise.c", line 54, in raise [0x7f29daaea438]
an attempt to copy with compression fails:
mdb_copy -c /srv/dydra/storage/strings.mdb/ /srv/dydra/backups/strings.bak/ mdb.c:5609: Assertion 'IS_BRANCH(mc->mc_pg[mc->mc_top])' failed in mdb_cursor_sibling() Aborted
an attempt to dump the problematic sub-database fails:
mdb_dump -s u32:sha1 /srv/dydra/storage/strings.mdb/ > strings-u32:sha1.txt mdb.c:5685: Assertion 'IS_LEAF(mp)' failed in mdb_cursor_next() Aborted
has there been any further insight since 2014 into causes? is there an alternative to restoring the database from a backup?
best regards, from berlin,
openldap-technical@openldap.org