summaryrefslogtreecommitdiffstats
path: root/config/src/main/java/com/yahoo
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup use of requesters and config sourcesHarald Musum2021-12-036-62/+60
| | | | | Remove requesters() method from ConfigSubscriber as well, not useful for others and is documented as for internal use only
* MInor cleanup of ConfigSource in subscriptionsHarald Musum2021-12-034-19/+18
|
* Remove unnecessary loggingHarald Musum2021-11-301-1/+0
|
* Simplify ConfigSubscriptionHarald Musum2021-11-296-43/+27
| | | | | COnfigSubscriber isn't needed for all subscription (used only in equals method, whoch is only used by tests)
* Fix logger nameHarald Musum2021-11-291-1/+1
|
* Add some more logging for file distribution connectsHarald Musum2021-11-281-0/+1
| | | | | Sometimes seeing some request fail after a very short time with connection error, not sure what causes it, trying to debug
* Make variable volatileHarald Musum2021-11-241-1/+1
|
* SimplifyHarald Musum2021-11-241-8/+5
|
* Adust when we log warnings a bit to avoid noiseHarald Musum2021-11-241-10/+15
|
* Revive test and test some moreHarald Musum2021-11-241-0/+2
|
* Simplify getting connection to use for file downloadHarald Musum2021-11-172-3/+3
|
* Add FileDistributionConnectionPoolHarald Musum2021-11-161-2/+2
| | | | | | | FileDistributionConnectionPool is better suited for connections getting files, since each file migh be available on different connections and switching connection for all file downloads if one fails does not make sense, instead one should switch per file download if necessary.
* Add some debug logging in ConfigSubscriberHarald Musum2021-11-121-0/+5
| | | | | To be able to see what is going on when getting config in client, how long it takes and to help when rewriting this code
* Extend test to cover case where we get new generation, but same configHarald Musum2021-11-111-1/+3
|
* Implement setNewConfigAndGeneration in GenericJRTConfigSubscriptionHarald Musum2021-11-101-0/+11
|
* Revert "Revert "Always update config when generation has changed ↵Harald Musum2021-11-102-2/+28
| | | | [run-systemtest]""
* Revert "Always update config when generation has changed [run-systemtest]"Harald Musum2021-11-102-28/+2
|
* FixHarald Musum2021-11-101-1/+1
|
* Use Objects.equals for comparison and log if config changed unexpectedlyHarald Musum2021-11-101-2/+11
|
* Always update config when generation has changedHarald Musum2021-11-102-1/+18
|
* Revert "Always update config when generation has changed [run-systemtest]"Harald Musum2021-11-101-1/+5
|
* Always update config when generation has changedHarald Musum2021-11-101-5/+1
|
* 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-141-35/+0
|
* Remove unused methodsHarald Musum2021-10-145-25/+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-141-8/+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
|
* Cleanup, no functional changesHarald Musum2021-10-131-1/+1
|
* 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-071-8/+4
| | | | Remove unnecessary constructor
* Update Verizon Media copyright notices.gjoranv2021-10-074-4/+4
|
* Update 2019 Yahoo Holdings copyright notices.gjoranv2021-10-071-1/+1
|
* Update 2017 copyright notices.gjoranv2021-10-0758-58/+58
|
* Merge pull request #19442 from ↵gjoranv2021-10-074-21/+5
|\ | | | | | | | | vespa-engine/hmusum/remove-use-of-old-method-for-swithcing-connection setError() -> switchConnection() and remove setError()
| * setError() -> switchConnection() and remove setError()Harald Musum2021-10-064-21/+5
| |
* | 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-052-124/+33
| | | | | | | | 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 #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.