aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahoo-inc.com>2017-01-12 17:26:02 +0100
committerTor Brede Vekterli <vekterli@yahoo-inc.com>2017-01-12 17:26:02 +0100
commit9e5662f4b0269bc709207069168b84d993784766 (patch)
tree89bf2603c5c36263fd6524f650531403deff511f /storage
parenta2dff014ac0bf54860ef885711e3ae3a6ed8fdee (diff)
Use more descriptive accessor
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/distributor/bucketdbupdater.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/src/vespa/storage/distributor/bucketdbupdater.cpp b/storage/src/vespa/storage/distributor/bucketdbupdater.cpp
index b3e2cf36955..38011f7b86f 100644
--- a/storage/src/vespa/storage/distributor/bucketdbupdater.cpp
+++ b/storage/src/vespa/storage/distributor/bucketdbupdater.cpp
@@ -163,9 +163,9 @@ BucketDBUpdater::removeSuperfluousBuckets(
void
BucketDBUpdater::ensureTransitionTimerStarted()
{
- if (!_pendingClusterState) {
- // Don't overwrite start time if we're already processing a state, as
- // that will make transition times appear artificially low.
+ // Don't overwrite start time if we're already processing a state, as
+ // that will make transition times appear artificially low.
+ if (!hasPendingClusterState()) {
_transitionTimer = framework::MilliSecTimer(
_bucketSpaceComponent.getClock());
}