summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2021-09-26 21:46:29 +0200
committerHarald Musum <musum@yahooinc.com>2021-09-26 21:46:29 +0200
commit1d8749defdd05c9e32cbc5eb9c7b74bd2fd4c7ac (patch)
tree16a83c5fdc7b54ade8b32b9df3788308f28cb0b8 /config
parent7013d80199cc2e2b734afe87806bd32f3079ed30 (diff)
Fix
Diffstat (limited to 'config')
-rw-r--r--config/src/vespa/config/frt/protocol.cpp2
-rw-r--r--config/src/vespa/config/retriever/configsnapshot.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/config/src/vespa/config/frt/protocol.cpp b/config/src/vespa/config/frt/protocol.cpp
index 4236af45dad..c6c99ccf1ff 100644
--- a/config/src/vespa/config/frt/protocol.cpp
+++ b/config/src/vespa/config/frt/protocol.cpp
@@ -37,7 +37,7 @@ const Memory RESPONSE_DEF_NAMESPACE = "defNamespace";
const Memory RESPONSE_DEF_MD5 = "defMD5";
const Memory RESPONSE_CONFIGID = "configId";
const Memory RESPONSE_CLIENT_HOSTNAME = "clientHostname";
-const Memory RESPONSE_CONFIG_XXHASH64 = "confighash64";
+const Memory RESPONSE_CONFIG_XXHASH64 = "configXxhash64";
const Memory RESPONSE_CONFIG_GENERATION = "generation";
const Memory RESPONSE_PAYLOAD = "payload";
const Memory RESPONSE_TRACE = "trace";
diff --git a/config/src/vespa/config/retriever/configsnapshot.cpp b/config/src/vespa/config/retriever/configsnapshot.cpp
index 523247b7b62..35f4415a26e 100644
--- a/config/src/vespa/config/retriever/configsnapshot.cpp
+++ b/config/src/vespa/config/retriever/configsnapshot.cpp
@@ -247,10 +247,10 @@ std::pair<int64_t, ConfigValue>
ConfigSnapshot::deserializeValueV2(Inspector & inspector) const
{
int64_t lastChanged = static_cast<int64_t>(inspector["lastChanged"].asDouble());
- vespalib::string md5(inspector["md5"].asString().make_string());
+ vespalib::string xxhash64(inspector["xxhash64"].asString().make_string());
auto payload = std::make_unique<FixedPayload>();
copySlimeObject(inspector["payload"], payload->getData().setObject());
- return Value(lastChanged, ConfigValue(std::move(payload) , md5));
+ return Value(lastChanged, ConfigValue(std::move(payload), xxhash64));
}
}