mikedilger on Nostr: The two things I want are: 1) In heed: DUP_SORT, DUP_FIXED with iterator support 2) ...
The two things I want are:
1) In heed: DUP_SORT, DUP_FIXED with iterator support
2) In LMDB: Heavy deleting from a cursor in a DUP_SORT database to not cause database corruption in LMDB (I can repeatedly get such corruption leading to Assertion 'IS_LEAF(mp)' failed in mdb_cursor_next())
Published at
2023-08-05 20:11:35Event JSON
{
"id": "10d2718051b16215bc2ab5d5f057cd8fa5f8da9ba226cd95c65936ec8cfa05ce",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1691266295,
"kind": 1,
"tags": [
[
"client",
"gossip"
],
[
"p",
"310811d70de0b73d09c6293869015c592e36ccc190aaa504d8d11f7777baa2b8"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"e",
"d2d1f3c3d88d56330b5c4bd3592438b0c9557746af45cfd6cd0090a351993dc8",
"wss://offchain.pub/",
"reply"
]
],
"content": "The two things I want are:\n\n1) In heed: DUP_SORT, DUP_FIXED with iterator support\n2) In LMDB: Heavy deleting from a cursor in a DUP_SORT database to not cause database corruption in LMDB (I can repeatedly get such corruption leading to Assertion 'IS_LEAF(mp)' failed in mdb_cursor_next())\n",
"sig": "0f7a52e9391080a1a3839411a55e72bc066e6b4f6ab35c14390e66a9c15fa280a7d8b3c5f08f1ac4dfcd806a864f0cfe1c1a3fa4be8d5fa98d1ebd49dfd2b360"
}