From 841d226d5838d36d4d13872ab7ba4f4824d9e490 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Wed, 29 Nov 2017 14:33:27 +0100 Subject: Set _configState before calling out to holder. --- config/src/vespa/config/frt/frtconfigagent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/vespa/config/frt/frtconfigagent.cpp b/config/src/vespa/config/frt/frtconfigagent.cpp index e4bae234a01..9a51155e882 100644 --- a/config/src/vespa/config/frt/frtconfigagent.cpp +++ b/config/src/vespa/config/frt/frtconfigagent.cpp @@ -60,6 +60,7 @@ FRTConfigAgent::handleUpdatedGeneration(const ConfigKey & key, const ConfigState LOG(spam, "new generation %ld for key %s", newState.generation, key.toString().c_str()); } _latest = configValue; + _configState = newState; if (LOG_WOULD_LOG(spam)) { @@ -67,7 +68,6 @@ FRTConfigAgent::handleUpdatedGeneration(const ConfigKey & key, const ConfigState } _holder->handle(ConfigUpdate::UP(new ConfigUpdate(_latest, true, newState.generation))); _numConfigured++; - _configState = newState; } void -- cgit v1.2.3