summaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Remove deps to http-utils and add vespajlib where necessary."gjoranv2021-10-211-0/+6
| | | | This reverts commit fe260fe8a98c1d2d19633e16a6308857c9577878.
* Reapply "Throw instead of setting config if we get bad config [run-systemtest]"gjoranv2021-10-151-8/+3
| | | | This reverts commit cacd694f88f673a0d6e753c52993df8e46721922.
* Remove dead codeHarald Musum2021-10-141-7/+0
|
* Remove unused classesHarald Musum2021-10-143-88/+0
|
* Remove unused methodsHarald Musum2021-10-146-26/+1
|
* Remove unused methodHarald Musum2021-10-142-10/+1
|
* Cleanup of addOkResponse()Harald Musum2021-10-141-21/+29
| | | | | Throw exception if payload is null Extract some methods and simplify
* Cleanup, no functional changesHarald Musum2021-10-142-23/+5
|
* Don't track more than 10 failures and make sure delay has a minimumHarald Musum2021-10-141-2/+3
|
* Remove legacy method and update testsHarald Musum2021-10-131-13/+0
|
* Remove unused option, rename variablesHarald Musum2021-10-132-7/+3
|
* Remove unused methodHarald Musum2021-10-131-1/+0
|
* Cleanup, no functional changesHarald Musum2021-10-133-4/+4
|
* Don't try to copy files if just one config serverJon Bratseth2021-10-121-0/+1
|
* Remove getSupervisor() from ConnectionPool interfaceHarald Musum2021-10-083-16/+0
| | | | | Cleanup use of supervisor in connection pool and some file download classes
* Reuse supervisor when we have oneHarald Musum2021-10-072-14/+9
| | | | Remove unnecessary constructor
* Update Verizon Media copyright notices.gjoranv2021-10-076-6/+6
|
* Update 2019 Yahoo Holdings copyright notices.gjoranv2021-10-071-1/+1
|
* Update 2017 copyright notices.gjoranv2021-10-07392-392/+392
|
* Merge pull request #19442 from ↵gjoranv2021-10-075-23/+7
|\ | | | | | | | | vespa-engine/hmusum/remove-use-of-old-method-for-swithcing-connection setError() -> switchConnection() and remove setError()
| * setError() -> switchConnection() and remove setError()Harald Musum2021-10-065-23/+7
| |
* | Refactor so that logic is in nextConfig()Harald Musum2021-10-063-49/+45
|/ | | | | Only other change is that we no longer call peek() and return early if there is nothing in queue, I cannot see any reason for that.
* Simplify backoff when getting config failsHarald Musum2021-10-053-191/+55
| | | | | | | | Use just one way of calculating delay until sending next request after and error: * do not retry faster after transient error, it may be overload * backoff based on number of failures * Use a max delay, but use a random factor anyway * Simplify
* Refactor some logging, no functional changesHarald Musum2021-10-051-18/+14
|
* Use interface in method signatureHarald Musum2021-10-051-4/+3
|
* Revert "Throw instead of setting config if we get bad config [run-systemtest]"Harald Musum2021-10-021-3/+8
|
* Merge pull request #19383 from vespa-engine/merge-http-utils-into-vespajlibgjoranv2021-10-011-6/+0
|\ | | | | Merge http utils into vespajlib [run-systemtest]
| * Remove deps to http-utils and add vespajlib where necessary.gjoranv2021-09-301-6/+0
| |
* | Merge pull request #19283 from ↵Henning Baldersheim2021-10-011-8/+3
|\ \ | | | | | | | | | | | | vespa-engine/hmusum/fail-instead-of-setting-config-if-we-get-bad-config-in-response Throw instead of setting config if we get bad config [run-systemtest]
| * | Throw instead of setting config if we get bad configHarald Musum2021-09-241-8/+3
| | |
* | | Log pool name when switching connectionHarald Musum2021-09-301-3/+3
| |/ |/|
* | Merge pull request #19274 from vespa-engine/move-ConfigVerification-to-proxyHarald Musum2021-09-271-97/+0
|\ \ | | | | | | Move ConfigVerification to config-proxy
| * | Move ConfigVerification to config-proxygjoranv2021-09-231-97/+0
| |/ | | | | | | .. to allow decoupling config-bundle from http-utils.
* | Merge pull request #19280 from vespa-engine/bratseth/cleanup-876Harald Musum2021-09-272-3/+6
|\ \ | | | | | | No functional changes
| * | No functional changesJon Bratseth2021-09-242-3/+6
| | |
* | | FixHarald Musum2021-09-262-3/+3
| | |
* | | Merge branch 'master' into hmusum/use-xxhash64-part-10Harald Musum2021-09-231-20/+8
|\ \ \ | | |/ | |/|
| * | Always send payload in responseHarald Musum2021-09-231-20/+8
| |/ | | | | | | | | | | | | As an optimization we sent empty payload if config was unchanged. This optimization is no longer needed, as configs are small and we can remove checks several places in config system and ease changes to config protocol.
* / Use xxhash64 instead of md5 for config payloadHarald Musum2021-09-2127-103/+102
|/
* Test with xxhash64 as wellHarald Musum2021-09-162-79/+97
|
* More cleanup of md5 usageHarald Musum2021-09-156-26/+11
|
* Remove getConfigMd5() from RawConfig, update usageHarald Musum2021-09-152-4/+1
|
* Revert "Revert "Update use of md5 and xxhash64 in more places [run-systemtest]""Harald Musum2021-09-154-8/+33
|
* Revert "Update use of md5 and xxhash64 in more places [run-systemtest]"Harald Musum2021-09-154-33/+8
|
* Update use of md5 and xxhash64 in more placesHarald Musum2021-09-144-8/+33
| | | | | | Set md5 and xxhash64 only when non-null in request and response. Update hasEqualConfig methods. Always return xxhash64 in response.
* Fix error in locig in previous commitHarald Musum2021-09-131-1/+1
| | | | Return early only if config has changed
* Remove md5 sum of config from initial state in config subscriptionHarald Musum2021-09-136-10/+42
| | | | | | Java applications will now request config with only xxhash64 of config, C++ applications will request config with md5 of config and config proxy will use what is in the request from the clients.
* Add checksum types in response based on types in requestHarald Musum2021-09-104-3/+45
| | | | | | | Return response with same type as in request, except when both are empty, then return both types. Note: No clients have started sending requests with only xxhash64 checksum yet.
* Stop validating length of checksumsHarald Musum2021-09-095-21/+11
| | | | | | | Not needed, and the way we calculated hex string from a long did not always return 16 characters, so fixes that issue. Also log validation failures as warnings
* Revert "Revert "Use both xxhash64 and md5 for config payload in requests and ↵Harald Musum2021-09-0926-158/+404
| | | | responses [run-systemtest]""