[
https://issues.apache.org/jira/browse/SAMZA-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16467921#comment-16467921
]
ASF GitHub Bot commented on SAMZA-1705:
---------------------------------------
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
----
> Switch to use snapshot in iterable impl of RocksDb
> --------------------------------------------------
>
> Key: SAMZA-1705
> URL: https://issues.apache.org/jira/browse/SAMZA-1705
> Project: Samza
> Issue Type: Task
> Reporter: Xinyu Liu
> Assignee: Xinyu Liu
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)