Re: LMDB dead process detection

2013-07-18 Thread Hallvard Breien Furuseth
Howard Chu writes: > There's been a long-running discussion about the need to have APIs in > liblmdb for displaying the reader table and clearing out stale slots. > Quite a few open questions on the topic: > (...) > 3) What approach should be used for automatic detection of stale slots? > > Cur

LMDB dead process detection

2013-07-16 Thread Howard Chu
There's been a long-running discussion about the need to have APIs in liblmdb for displaying the reader table and clearing out stale slots. Quite a few open questions on the topic: 1) What should the API look like for examining the table? My initial instinct is to provide an iterator functio