summaryrefslogtreecommitdiffstats
path: root/filedistribution
Commit message (Collapse)AuthorAgeFilesLines
* 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-021-0/+1
|
* Use lower timeoutHarald Musum2022-01-121-5/+0
| | | | | | | If we get a request for a file reference we don't have, try to download with 10 second timeout and reply with not found otherwise, otherwise a thread might be busy for a long time and we might end up with all threads being busy and no requests can be served
* unify java warningsArne H Juul2022-01-061-7/+0
| | | | | * these were stricter than in parent, but to simplify we can just use compiler args from parent
* Reduce increase in rpc timeout for each retryHarald Musum2021-12-161-7/+6
|
* Don't try to download after timeoutHarald Musum2021-12-131-1/+3
|
* Simplify and reorder arguments, no functional changesHarald Musum2021-12-132-9/+5
|
* Make sure sleep time never exceeds 120 secondsHarald Musum2021-12-121-1/+2
|
* Add exponential backoff if starting download failsHarald Musum2021-12-121-2/+12
|
* Make sure to always delete temp file/dirHarald Musum2021-12-101-6/+5
|
* Make sure to cleanup when failing to read file reference dataHarald Musum2021-12-061-1/+1
|
* Merge pull request #20258 from vespa-engine/hmusum/move-logging-to-callersHåkon Hallingstad2021-11-292-8/+1
|\ | | | | Move logging in getFile() to callers
| * M0;95;0cove logging in getFile() to callersHarald Musum2021-11-282-8/+1
| |
* | Add some more logging for file distribution connectsHarald Musum2021-11-281-3/+5
|/ | | | | Sometimes seeing some request fail after a very short time with connection error, not sure what causes it, trying to debug
* Always add client string when getting filesHarald Musum2021-11-263-12/+20
|
* Reduce timeout when downloading filesHarald Musum2021-11-261-2/+2
| | | | | Reduce from 3 minutes to 30 seconds. Download will be retried on next run anyway.
* Minor changes to loggingHarald Musum2021-11-261-4/+4
|
* Reduce sleep time between retriesHarald Musum2021-11-261-1/+1
| | | | We now use a new source for each retry, so reduce sleep time between retries
* Simplify getting connection to use for file downloadHarald Musum2021-11-172-8/+9
|
* Add FileDistributionConnectionPoolHarald Musum2021-11-161-0/+43
| | | | | | | 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.
* Refactor, no funtional changesHarald Musum2021-11-151-12/+20
|
* Use correct variable in log messageHarald Musum2021-11-151-2/+2
|
* Improve file download logging a bitHarald Musum2021-11-151-1/+1
|
* Lower log level for a couple of messagesHarald Musum2021-11-121-2/+2
|
* Depend on http-utilsHarald Musum2021-10-221-0/+6
|
* Check if file exists before trying to downloadHarald Musum2021-10-203-9/+25
|
* Fewer retries of starting download of file referenceHarald Musum2021-10-191-20/+9
| | | | | Not much point in trying many times, as we switch server if we fail, so retrying more than 5 times is probably no point.
* Rename methods, add field for future useHarald Musum2021-10-192-10/+12
|
* Move check for non-null file reference to where it belongsHarald Musum2021-10-172-2/+2
|
* Add convenience method for checking if file reference already existsHarald Musum2021-10-171-1/+7
|
* Change default timeout to 3 minutesHarald Musum2021-10-151-1/+5
| | | | Continnue using timeout of 5 minutes for downloader used by config proxy
* Minore refactoringHarald Musum2021-10-151-17/+6
|
* SimplifyHarald Musum2021-10-152-16/+18
|
* SimplifyHarald Musum2021-10-151-11/+1
|
* Lower log levelHarald Musum2021-10-151-2/+2
|
* Improve download of application package in maintainerHarald Musum2021-10-142-3/+3
| | | | | | Set downloadFromOtherSourceIfNotFound to false, so that the receiving config server that gets the request don't try to download a file reference. This will be done by the ApplicationPackageMaintainer on the other server anyway.
* Avoid slf4j configuration issue, use slf4j-nopHarald Musum2021-10-131-0/+6
|
* Remove getSupervisor() from ConnectionPool interfaceHarald Musum2021-10-082-18/+53
| | | | | Cleanup use of supervisor in connection pool and some file download classes
* Merge pull request #19448 from ↵Harald Musum2021-10-071-4/+4
|\ | | | | | | | | vespa-engine/hmusum/use-documented-environment-variables-1 Use documented environment variables
| * Use documented environment variablesHarald Musum2021-10-071-4/+4
| |
* | Update Verizon Media copyright notices.gjoranv2021-10-077-7/+7
| |
* | Update 2018 copyright notices.gjoranv2021-10-073-3/+3
| |
* | Update 2017 copyright notices.gjoranv2021-10-076-6/+6
|/
* setError() -> switchConnection() and remove setError()Harald Musum2021-10-062-6/+3
|
* Let VespaHttpClientBuilder rewrite to https if necessaryHarald Musum2021-10-061-1/+1
|
* Rewrite to use new apache http clientHarald Musum2021-10-062-18/+32
|
* Depend on http client with compile scope, used in standalone scriptHarald Musum2021-10-061-1/+1
|
* more timeout when retryingArne Juul2021-08-301-3/+4
| | | | * also, start logging after 5 retries