On 8/20/20 6:25 PM, Howard Chu wrote: > Vladimír Čunát wrote: >> On 8/19/20 7:11 PM, Howard Chu wrote: >>> It's a documented feature. >> I haven't seen that in docs http://www.lmdb.tech/doc/ (I even skimmed the >> "internals" section) Am I missing some part? > You definitely need to read more carefully. It's on the very first page of > your link, under Caveats. > > "Avoid long-lived transactions." ...
Right, thanks, I did miss the title page when re-reading. It's a bit confusing that the paragraph after that sentence does not appear to apply to the observed case, but that's not really important... from this discussion I see no other option than shortening the transactions to some magical constant. (Pages touched in a RO transaction can't be freed until it aborts - that was always clear. For us the overall number of pages don't seem possible to have ran out, assuming the MDB_stat counts reflected their usage before all those operations began.) --Vladimir
