Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Config subscription refactoring, part 5 [run-systemtest]" | Harald Musum | 2021-12-04 | 7 | -75/+101 |
| | |||||
* | Cleanup use of requesters and config sources | Harald Musum | 2021-12-03 | 7 | -83/+75 |
| | | | | | Remove requesters() method from ConfigSubscriber as well, not useful for others and is documented as for internal use only | ||||
* | Remove useless test | Harald Musum | 2021-12-03 | 1 | -18/+0 |
| | | | | We will never use more than one ConfigSourceSet for a GenericConfigSubscriber | ||||
* | MInor cleanup of ConfigSource in subscriptions | Harald Musum | 2021-12-03 | 2 | -5/+8 |
| | |||||
* | Simplify ConfigSubscription | Harald Musum | 2021-11-29 | 2 | -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 more | Harald Musum | 2021-11-24 | 1 | -18/+20 |
| | |||||
* | Extend test to cover case where we get new generation, but same config | Harald Musum | 2021-11-11 | 1 | -14/+29 |
| | |||||
* | Remove unused classes | Harald Musum | 2021-10-14 | 2 | -53/+0 |
| | |||||
* | Remove unused methods | Harald Musum | 2021-10-14 | 1 | -1/+0 |
| | |||||
* | Cleanup, no functional changes | Harald Musum | 2021-10-14 | 1 | -15/+0 |
| | |||||
* | Reuse supervisor when we have one | Harald Musum | 2021-10-07 | 1 | -6/+5 |
| | | | | Remove unnecessary constructor | ||||
* | Update Verizon Media copyright notices. | gjoranv | 2021-10-07 | 1 | -1/+1 |
| | |||||
* | Update 2017 copyright notices. | gjoranv | 2021-10-07 | 41 | -41/+41 |
| | |||||
* | setError() -> switchConnection() and remove setError() | Harald Musum | 2021-10-06 | 1 | -2/+2 |
| | |||||
* | Simplify backoff when getting config fails | Harald Musum | 2021-10-05 | 1 | -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 well | Harald Musum | 2021-09-16 | 1 | -51/+78 |
| | |||||
* | More cleanup of md5 usage | Harald Musum | 2021-09-15 | 2 | -5/+7 |
| | |||||
* | Remove getConfigMd5() from RawConfig, update usage | Harald Musum | 2021-09-15 | 1 | -1/+1 |
| | |||||
* | Remove md5 sum of config from initial state in config subscription | Harald Musum | 2021-09-13 | 1 | -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 checksums | Harald Musum | 2021-09-09 | 2 | -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 Musum | 2021-09-09 | 5 | -61/+88 |
| | | | | responses [run-systemtest]"" | ||||
* | Revert "Use both xxhash64 and md5 for config payload in requests and ↵ | Harald Musum | 2021-09-09 | 5 | -88/+61 |
| | | | | responses [run-systemtest]" | ||||
* | Use both xxhash64 and md5 for config payload in requests and responses | Harald Musum | 2021-09-09 | 5 | -61/+88 |
| | | | | Chacking of equal config with hasEqualConfig() still uses only md5 | ||||
* | Remove def md5 from ConfigKey | Harald Musum | 2021-09-08 | 2 | -31/+26 |
| | |||||
* | Extract method for validating checksum | Harald Musum | 2021-09-07 | 1 | -6/+8 |
| | |||||
* | Add class for payload checksum | Harald Musum | 2021-09-06 | 2 | -6/+5 |
| | |||||
* | Deprecate and stop using ConfigDefinition constructor with version | Harald Musum | 2021-09-02 | 2 | -5/+5 |
| | |||||
* | Use ByteBuffer interface. | Henning Baldersheim | 2021-05-07 | 1 | -9/+8 |
| | |||||
* | Change delay when there are transient config errors | Harald Musum | 2021-04-30 | 1 | -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 failures | Harald Musum | 2021-04-29 | 1 | -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 code | Harald Musum | 2021-04-28 | 2 | -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 failing | Harald Musum | 2021-04-28 | 1 | -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 unhealthy | Harald Musum | 2021-04-27 | 1 | -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 working | Harald Musum | 2021-04-27 | 1 | -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 variables | Harald Musum | 2021-03-15 | 1 | -31/+12 |
| | |||||
* | Track explicitly when we are initializing config | Jon Bratseth | 2020-12-16 | 8 | -24/+25 |
| | |||||
* | Revert "Merge pull request #15739 from ↵ | Jon Bratseth | 2020-12-08 | 5 | -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 Musum | 2020-12-08 | 5 | -30/+32 |
| | |||||
* | Use generation to determine initial configuration | Jon Bratseth | 2020-12-08 | 1 | -2/+2 |
| | |||||
* | Revert "Merge pull request #15690 from ↵ | Jon Bratseth | 2020-12-07 | 4 | -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 Bratseth | 2020-12-04 | 4 | -28/+30 |
| | | | | impleme…" | ||||
* | Keep internal-redeploy serverside. Remove old restartOnDeploy implementation. | Jon Bratseth | 2020-12-04 | 4 | -30/+28 |
| | |||||
* | Revert "Merge pull request #15581 from ↵ | Jon Bratseth | 2020-12-02 | 4 | -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 Bratseth | 2020-12-02 | 4 | -26/+26 |
| | |||||
* | Revert "Merge pull request #15577 from ↵ | Jon Bratseth | 2020-12-01 | 4 | -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 Hallingstad | 2020-12-01 | 4 | -26/+26 |
| | |||||
* | Revert "Merge pull request #15552 from ↵ | Jon Bratseth | 2020-12-01 | 4 | -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 Bratseth | 2020-11-30 | 4 | -26/+26 |
| | |||||
* | Revert "Merge pull request #15549 from ↵ | Jon Bratseth | 2020-11-30 | 4 | -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 Bratseth | 2020-11-30 | 4 | -26/+26 |
| |