Alexey Serbin has uploaded this change for review. (
http://gerrit.cloudera.org:8080/19637
Change subject: [tablet] avoid multiple TabletMetadata::extra_config() calls
......................................................................
[tablet] avoid multiple TabletMetadata::extra_config() calls
This patch optimizes the code in tablet.cc a bit to avoid acquiring
a lock multiple times when examining extra table configuration
in Tablet::{GetTabletAncientHistoryMark,disable_compaction}() methods.
Change-Id: I346d1c8813dab8924e84eaf4ef8bd7fd6623619e
---
M src/kudu/tablet/tablet.cc
1 file changed, 6 insertions(+), 4 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/37/19637/1
--
To view, visit http://gerrit.cloudera.org:8080/19637
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I346d1c8813dab8924e84eaf4ef8bd7fd6623619e
Gerrit-Change-Number: 19637
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>