summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
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());
}