aboutsummaryrefslogtreecommitdiffstats
path: root/config-proxy
Commit message (Collapse)AuthorAgeFilesLines
* Use Optional for getConfig/resolveConfig callsHarald Musum2022-04-1811-76/+72
| | | | Some minor changes to log output as well
* Do not create dependency-reduced-pom.xmlgjoranv2022-04-081-0/+1
| | | | | | - From maven-shade-plugin 3.3.0 (needed for JDK 17), the DRP is installed and used instead of the ordinary pom.xml, causing transitive dependencies to disappear for dependent modules.
* Increase thread stack size for config proxyHarald Musum2022-03-081-1/+1
| | | | 448k or more is required on arm64
* Use a typesafe Duration instead of integer milliseondst status.Henning Baldersheim2022-02-251-1/+2
|
* - Use a utility method that recomputes a timeout if VESPA_TIMER_HZ deviates ↵Henning Baldersheim2022-02-251-1/+1
| | | | from the default of 1000hz.
* Run config proxy configpoller at 1/10th of default(1000hz) vespa timer ↵Henning Baldersheim2022-02-171-1/+2
| | | | frequency.
* Improve maven-shade-plugin filter, and move to parent pom.gjoranv2022-02-031-11/+0
| | | | - Removes 223 build warnings (out of 562 for building non-test code)
* Revert "Exclude META-INF files and module-info.class from uber jars."Harald Musum2022-02-021-2/+4
|
* Exclude META-INF files and module-info.class from uber jars.gjoranv2022-02-021-4/+2
| | | | - Generate countless warnings for duplicates and breaking encapsulation.
* Add SuppressWarnings for removal of config.subscription types.gjoranv2022-02-025-0/+8
|
* Deprecate package c.y.log.event.gjoranv2022-01-251-0/+1
|
* 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