basho/leveldb — pull request #114 by matthewvon (2013-12-19 22:35:05+00:00)
Title: mv-iterator-refresh (part 2)

Add option for iterator_refresh, which is currently implemented in eleveldb.

Eleveldb does the following: when an iterator is held for a long, long time AND its database (vnode) is under heavy write load, the snapshot held by the iterator can cause that database thrash. If this iterator is ONLY processing NEXT operations, this branch will close and reopen the iterator every 5 minutes. Intended primarily for internal Riak operations such as AAE.