GitHub user xinyuiscool opened a pull request: https://github.com/apache/samza/pull/510
SAMZA-1705: Switch to use snapshot in iterable impl of RocksDb We should use rocksDb.snapshot() method to keep the snapshot and creates a new iterator with it all the time. The perf shows a little bit more expensive but mostly on par with range iterator query. You can merge this pull request into a Git repository by running: $ git pull https://github.com/xinyuiscool/samza SAMZA-1705 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/samza/pull/510.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #510 ---- commit 78841d03aa280af17b301bf2d15e877074db0aac Author: xinyuiscool <xiliu@...> Date: 2018-05-08T20:11:14Z SAMZA-1705: Switch to use snapshot in iterable impl of RocksDb ---- ---