aboutsummaryrefslogtreecommitdiffstats
path: root/config-proxy
Commit message (Collapse)AuthorAgeFilesLines
* use less CPU in retention-enforcerArne H Juul2022-01-131-1/+1
| | | | | | | | | * start it with "nice" * put in "sleep 1" between each processing step, to make it less CPU intensive * avoid doing work which can never be useful, by not looking at databases where the earliest possible timestamp is not older than the retention limit
* unify java warningsArne H Juul2022-01-071-6/+0
| | | | | * these were stricter than in parent, but to simplify we can just use compiler args from parent
* GC use of deprecated junit assertThat and unifyHenning Baldersheim2021-12-217-113/+100
|
* Merge branch 'master' into ↵Harald Musum2021-12-121-13/+24
|\ | | | | | | revert-20366-revert-20350-hmusum/config-subscription-refactoring-part-5
| * Synchronize access to subscribers mapHarald Musum2021-12-111-13/+23
| | | | | | | | | | subscribeToConfig() may be called form different threads and subscribers map therefore needs locking to work properly
* | Merge branch 'master' into ↵Harald Musum2021-12-1115-194/+177
|\| | | | | | | revert-20366-revert-20350-hmusum/config-subscription-refactoring-part-5
| * Make sure to keep memory cache when switching modeHarald Musum2021-12-103-4/+4
| |
| * Revert "Revert "Hmusum/refactor config proxy [run-systemtest]""Harald Musum2021-12-1014-184/+173
| |
| * Revert "Hmusum/refactor config proxy [run-systemtest]"Harald Musum2021-12-1014-173/+184
| |
| * Make sure to shutdown all transport threadsHarald Musum2021-12-101-1/+1
| |
| * Merge pull request #20448 from vespa-engine/hmusum/refactor-config-proxyHarald Musum2021-12-1014-184/+173
| |\ | | | | | | Hmusum/refactor config proxy [run-systemtest]
| | * Require a couple of constructor arguments to be non-nullHarald Musum2021-12-107-13/+15
| | |
| | * Decouple rpc server and rpc client by using a ResponseHandlerHarald Musum2021-12-109-84/+106
| | |
| | * SImplify code related to MemoryCacheHarald Musum2021-12-0610-59/+62
| | | | | | | | | | | | No functional changes
| | * Remove undocumented RPC command that has never been usedHarald Musum2021-12-062-39/+1
| | |
| * | Always use FileDistributionConnectionPoolHarald Musum2021-12-091-11/+5
| |/
* / Revert "Revert "Config subscription refactoring, part 5 [run-systemtest]""Harald Musum2021-12-062-21/+11
|/
* Revert "Config subscription refactoring, part 5 [run-systemtest]"Harald Musum2021-12-042-11/+21
|
* Cleanup use of requesters and config sourcesHarald Musum2021-12-032-21/+11
| | | | | Remove requesters() method from ConfigSubscriber as well, not useful for others and is documented as for internal use only
* M0;95;0cove logging in getFile() to callersHarald Musum2021-11-281-1/+2
|
* Always add client string when getting filesHarald Musum2021-11-261-1/+2
|
* Remove debug loggingHarald Musum2021-11-261-6/+0
|
* Rename env variable and add feature flag to be used by host-adminHarald Musum2021-11-251-2/+2
|
* Choose file distribution connection pool for config proxy based on env variableHarald Musum2021-11-251-1/+18
| | | | Default is unchanged
* Remove unused methodHarald Musum2021-11-151-16/+1
| | | | | RPC method filedistribution.setFileReferencesToDownload is only used between config servers, remove config proxy implementation
* JDK 17: Fix out-of-sequence javadoc headers.gjoranv2021-11-101-1/+1
|
* Log error when getting null config and don't return itHarald Musum2021-11-081-2/+7
|
* Update 2019 Oath copyrights.gjoranv2021-10-274-4/+4
|
* Change default timeout to 3 minutesHarald Musum2021-10-151-1/+1
| | | | Continnue using timeout of 5 minutes for downloader used by config proxy
* Remove dead codeHarald Musum2021-10-141-5/+4
|
* Cleanup, no functional changesHarald Musum2021-10-141-2/+2
|
* Cleanup, no functional changesHarald Musum2021-10-132-7/+7
|
* Remove getSupervisor() from ConnectionPool interfaceHarald Musum2021-10-081-1/+1
| | | | | Cleanup use of supervisor in connection pool and some file download classes
* Reuse supervisor when we have oneHarald Musum2021-10-071-1/+1
| | | | Remove unnecessary constructor
* Update Verizon Media copyright notices.gjoranv2021-10-074-4/+4
|
* Update 2017 copyright notices.gjoranv2021-10-0724-24/+24
|
* Reduce config proxy max heap from 256 Mb to 128 MbHarald Musum2021-10-071-1/+1
|
* Simplify backoff when getting config failsHarald Musum2021-10-051-2/+1
| | | | | | | | 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
* Throw if no config sources defined, log if empty configHarald Musum2021-10-051-51/+49
| | | | Other changes are non-functional
* Catch exceptionHarald Musum2021-10-011-10/+8
|
* Log pool name when switching connectionHarald Musum2021-09-301-1/+1
|
* Move ConfigVerification to config-proxygjoranv2021-09-232-1/+98
| | | | .. to allow decoupling config-bundle from http-utils.
* More cleanup of md5 usageHarald Musum2021-09-151-2/+2
|
* Remove getConfigMd5() from RawConfig, update usageHarald Musum2021-09-154-17/+14
|
* Revert "Revert "Use both xxhash64 and md5 for config payload in requests and ↵Harald Musum2021-09-094-22/+29
| | | | responses [run-systemtest]""
* Revert "Use both xxhash64 and md5 for config payload in requests and ↵Harald Musum2021-09-094-29/+22
| | | | responses [run-systemtest]"
* Follow changes, use PayloadChecksumsHarald Musum2021-09-093-20/+27
|
* Use both xxhash64 and md5 for config payload in requests and responsesHarald Musum2021-09-091-2/+2
| | | | Chacking of equal config with hasEqualConfig() still uses only md5
* Follow changesHarald Musum2021-09-081-7/+6
|
* Remove def md5 from ConfigKeyHarald Musum2021-09-082-8/+20
|