diff options
author | Harald Musum <musum@yahooinc.com> | 2021-09-13 19:01:59 +0200 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2021-09-13 19:01:59 +0200 |
commit | 54425088674f80706b0595d54985ce3cdff8a26d (patch) | |
tree | 99174e7299155ba98f8a49fd2b0060918df48bc1 | |
parent | 92ad19102e936032fe61fa5a93bc88a2fc246a22 (diff) |
Fix error in locig in previous commit
Return early only if config has changed
-rw-r--r-- | config/src/main/java/com/yahoo/vespa/config/protocol/JRTClientConfigRequestV3.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/src/main/java/com/yahoo/vespa/config/protocol/JRTClientConfigRequestV3.java b/config/src/main/java/com/yahoo/vespa/config/protocol/JRTClientConfigRequestV3.java index 1a0c794e320..bd69c77921d 100644 --- a/config/src/main/java/com/yahoo/vespa/config/protocol/JRTClientConfigRequestV3.java +++ b/config/src/main/java/com/yahoo/vespa/config/protocol/JRTClientConfigRequestV3.java @@ -267,7 +267,7 @@ public class JRTClientConfigRequestV3 implements JRTClientConfigRequest { PayloadChecksum respMd5 = newChecksums.getForType(MD5); boolean updated = respMd5 != null && ! requestConfigChecksums.getForType(MD5).equals(respMd5); - if (!updated) return false; + if (updated) return true; PayloadChecksum respXxhash64 = newChecksums.getForType(XXHASH64); return respXxhash64 != null && ! requestConfigChecksums.getForType(XXHASH64).equals(respXxhash64); |