Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18090
Change subject: [consensus] reduce critical section in LogCache::ReadOps() ...................................................................... [consensus] reduce critical section in LogCache::ReadOps() This patch reduces the section protected by the lock in LogCache::ReadOps(), moving out of the critical section several operations which do not need such a protection. I didn't find an existing performance test which would exercise the updated code path, but reducing the time spent under a lock looks like an improvement. Change-Id: Ia7de32eb8adde242c8047720e062535cbdaf3e39 --- M src/kudu/consensus/log_cache.cc 1 file changed, 13 insertions(+), 19 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/90/18090/1 -- To view, visit http://gerrit.cloudera.org:8080/18090 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ia7de32eb8adde242c8047720e062535cbdaf3e39 Gerrit-Change-Number: 18090 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
