summaryrefslogtreecommitdiffstats
path: root/config/src/test/java/com/yahoo
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Config subscription refactoring, part 5 [run-systemtest]"Harald Musum2021-12-047-75/+101
|
* Cleanup use of requesters and config sourcesHarald Musum2021-12-037-83/+75
| | | | | Remove requesters() method from ConfigSubscriber as well, not useful for others and is documented as for internal use only
* Remove useless testHarald Musum2021-12-031-18/+0
| | | | We will never use more than one ConfigSourceSet for a GenericConfigSubscriber
* MInor cleanup of ConfigSource in subscriptionsHarald Musum2021-12-032-5/+8
|
* Simplify ConfigSubscriptionHarald Musum2021-11-292-12/+8
| | | | | COnfigSubscriber isn't needed for all subscription (used only in equals method, whoch is only used by tests)
* Revive test and test some moreHarald Musum2021-11-241-18/+20
|
* Extend test to cover case where we get new generation, but same configHarald Musum2021-11-111-14/+29
|
* Remove unused classesHarald Musum2021-10-142-53/+0
|
* Remove unused methodsHarald Musum2021-10-141-1/+0
|
* Cleanup, no functional changesHarald Musum2021-10-141-15/+0
|
* Reuse supervisor when we have oneHarald Musum2021-10-071-6/+5
| | | | Remove unnecessary constructor
* Update Verizon Media copyright notices.gjoranv2021-10-071-1/+1
|
* Update 2017 copyright notices.gjoranv2021-10-0741-41/+41
|
* setError() -> switchConnection() and remove setError()Harald Musum2021-10-061-2/+2
|
* Simplify backoff when getting config failsHarald Musum2021-10-051-67/+22
| | | | | | | | 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
* Test with xxhash64 as wellHarald Musum2021-09-161-51/+78
|
* More cleanup of md5 usageHarald Musum2021-09-152-5/+7
|
* Remove getConfigMd5() from RawConfig, update usageHarald Musum2021-09-151-1/+1
|
* Remove md5 sum of config from initial state in config subscriptionHarald Musum2021-09-131-2/+2
| | | | | | 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.
* Stop validating length of checksumsHarald Musum2021-09-092-2/+1
| | | | | | | 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-095-61/+88
| | | | responses [run-systemtest]""
* Revert "Use both xxhash64 and md5 for config payload in requests and ↵Harald Musum2021-09-095-88/+61
| | | | responses [run-systemtest]"
* Use both xxhash64 and md5 for config payload in requests and responsesHarald Musum2021-09-095-61/+88
| | | | Chacking of equal config with hasEqualConfig() still uses only md5
* Remove def md5 from ConfigKeyHarald Musum2021-09-082-31/+26
|
* Extract method for validating checksumHarald Musum2021-09-071-6/+8
|
* Add class for payload checksumHarald Musum2021-09-062-6/+5
|
* Deprecate and stop using ConfigDefinition constructor with versionHarald Musum2021-09-022-5/+5
|
* Use ByteBuffer interface.Henning Baldersheim2021-05-071-9/+8
|
* Change delay when there are transient config errorsHarald Musum2021-04-301-39/+27
| | | | | | Delay next config request a random amount of time between 0 and error delay. This is to avoid thundering herd issues. Delay when getting fatal errors are unchanged.
* Simplify calculating delay after config failuresHarald Musum2021-04-291-77/+44
| | | | | | | | When there are several subscribers to a config and 1 JRTConfiguRequester the counter for failures might quickly increase so backoff based on these numbers will not be useful. Simplify by using booleans for failures instead. Max delay for configured subscriptions will now be 30 seconds instead of 150 seconds (which is way too much)
* Simplify codeHarald Musum2021-04-282-3/+1
| | | | | | Add equals and hashcode to JRTConnection Just switch to a new one if current connection is failing Removes need for last sucess, error etc. and healthy status
* Switch connection only when the current one is failingHarald Musum2021-04-281-41/+36
| | | | | | Subscribers set error on a connection if it fails, so when having many subscribers we should not switch unless the current connection is having errors
* Exclude current sources when all sources are unhealthyHarald Musum2021-04-271-2/+49
| | | | | | When choosing a new source when all are unhealthy exclude the current source. Minor changes to toString for JRTConnection
* Change the way we switch connection when the current one is not workingHarald Musum2021-04-271-4/+6
| | | | | | Consider only healthy sources (if there are any) when switching to a new one fue to failures. Also log when connecting to a source
* GC unused env variablesHarald Musum2021-03-151-31/+12
|
* Track explicitly when we are initializing configJon Bratseth2020-12-168-24/+25
|
* Revert "Merge pull request #15739 from ↵Jon Bratseth2020-12-085-32/+30
| | | | | | | vespa-engine/revert-15734-bratseth/simplify-config-take-2" This reverts commit d1e33a9420805f5d416ca55ed79497fd28f20216, reversing changes made to 10464c859ccca2596e2b841612f8ea958330e4dc.
* Revert "Bratseth/simplify config take 2"Harald Musum2020-12-085-30/+32
|
* Use generation to determine initial configurationJon Bratseth2020-12-081-2/+2
|
* Revert "Merge pull request #15690 from ↵Jon Bratseth2020-12-074-30/+28
| | | | | | | vespa-engine/revert-15686-bratseth/simplify-config" This reverts commit a90709008ec0d108ee9a2e26bda20e39a10424b5, reversing changes made to fcb2b4a2fd7a594520613c48d58e26963c68ea90.
* Revert "Keep internal-redeploy serverside. Remove old restartOnDeploy ↵Jon Bratseth2020-12-044-28/+30
| | | | impleme…"
* Keep internal-redeploy serverside. Remove old restartOnDeploy implementation.Jon Bratseth2020-12-044-30/+28
|
* Revert "Merge pull request #15581 from ↵Jon Bratseth2020-12-024-26/+26
| | | | | | | vespa-engine/revert-15578-bratseth/apply-on-restart-take-10" This reverts commit 4cf13bc7db215e77f7688e429f700880c115fe76, reversing changes made to e21f385bd4f21326608f3a69325df4e96d4a65e5.
* Revert "Bratseth/apply on restart take 10"Jon Bratseth2020-12-024-26/+26
|
* Revert "Merge pull request #15577 from ↵Jon Bratseth2020-12-014-26/+26
| | | | | | | vespa-engine/revert-15575-bratseth/apply-on-restart-take-9" This reverts commit b9f054f862e6fc7bdbf41b9404605e2a8ad6b249, reversing changes made to 535b586bae36880259a792e2292f02b8495950fe.
* Revert "Bratseth/apply on restart take 9"Håkon Hallingstad2020-12-014-26/+26
|
* Revert "Merge pull request #15552 from ↵Jon Bratseth2020-12-014-26/+26
| | | | | | | vespa-engine/revert-15550-bratseth/apply-on-restart-take-8" This reverts commit 916492da87189ff9a07e39b22c64f2e1e31ff53a, reversing changes made to 3e5cf1de4c336c2e8d4f3a380dc242f402cb6dea.
* Revert "Bratseth/apply on restart take 8"Jon Bratseth2020-11-304-26/+26
|
* Revert "Merge pull request #15549 from ↵Jon Bratseth2020-11-304-26/+26
| | | | | | | vespa-engine/revert-15543-bratseth/apply-on-restart-take-7" This reverts commit 0f2e5b7dba8f7009d227722b9491cc800d4f371b, reversing changes made to 1d5e07a044bff2aef764cfee0de10802c376e4b7.
* Revert "Bratseth/apply on restart take 7"Jon Bratseth2020-11-304-26/+26
|