Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * apply new common bootstrap | Arne Juul | 2022-10-24 | 1 | -3/+4 |
| | | | | | * remove now-duplicated code * prefer using ${VESPA_HOME} environment variable | ||||
* | Revert "Refactor cleanup of file references" | Harald Musum | 2022-10-11 | 1 | -107/+0 |
| | |||||
* | Use try-with-resources when getting file references in path | Harald Musum | 2022-10-10 | 1 | -16/+17 |
| | |||||
* | Use a Stream to read files, might go OOM otherwise | Harald Musum | 2022-10-10 | 1 | -28/+25 |
| | | | | | Slight rewrite to be able to use a stream for deleting unused file references, but still keep some of them (the last accessed ones) | ||||
* | Move code for deleting unused file references | Harald Musum | 2022-10-07 | 1 | -0/+109 |
| | | | | | No functional changes, will be used by config proxy code as well in the future | ||||
* | Add method to use Duration as timeout to make unit explicit, and avoid many ↵ | Henning Baldersheim | 2022-08-12 | 3 | -4/+6 |
| | | | | magic conversions. | ||||
* | Merge pull request #23391 from ↵ | Henning Baldersheim | 2022-07-07 | 1 | -0/+5 |
|\ | | | | | | | | | vespa-engine/hmusum/add-forceDownload-option-to-file-downloader Temporarily add env variable for forcing download of file references | ||||
| * | Temporarily add env varioable for forcing download of file references | Harald Musum | 2022-07-06 | 1 | -0/+5 |
| | | | | | | | | | | | | This can be used for testing file distributuion on one node. E.g. config proxy takes no config or feature flag, so need to use an environment variable. | ||||
* | | Revert "Revert "Make sure to set compression type in file distribution meta ↵ | Harald Musum | 2022-07-06 | 7 | -11/+19 |
| | | | | | | | | request"" | ||||
* | | Revert "Make sure to set compression type in file distribution meta request ↵ | Harald Musum | 2022-07-06 | 7 | -19/+11 |
| | | | | | | | | [run-systemtest]" | ||||
* | | Make sure to set compression type in file distribution meta request | Harald Musum | 2022-07-06 | 7 | -11/+19 |
|/ | |||||
* | Wire in use of compression types and flags for file distribution | Harald Musum | 2022-07-06 | 4 | -16/+54 |
| | | | | | VESPA_FILE_DISTRIBUTION_ACCEPTED_COMPRESSION_TYPES is not set anywhere yet, will be set through host-admin | ||||
* | Support specifying compression type for file distribution requests | Harald Musum | 2022-07-05 | 5 | -19/+63 |
| | | | | | | Add accepted compression types in file distribution requests. Older clients (e.g. Vespa 7.x) will not have that in requests, so fallback to gzip in that case. | ||||
* | Make sure to return response when request times out | Harald Musum | 2022-06-22 | 1 | -2/+3 |
| | | | | | Return with new error code 2. Clients only check for error code 0, so a new error code is handled implicitly also by old clients | ||||
* | Set project version to 8-SNAPSHOT | gjoranv | 2022-06-08 | 1 | -2/+2 |
| | |||||
* | Revoke com.yahoo.config.subscription as public API | Harald Musum | 2022-06-08 | 1 | -1/+0 |
| | | | | Also remove some deprecated methods in ConfigGetter | ||||
* | Revert "Support compressing files (not just directories) in file ↵ | Harald Musum | 2022-05-25 | 4 | -60/+23 |
| | | | | distribution [run-systemtest]" | ||||
* | Support compressing files (not just directories) in file distribution | Harald Musum | 2022-05-25 | 4 | -23/+60 |
| | | | | | Use file distribution compression feature flags and support compressing single files | ||||
* | Remove unintended checkin | Harald Musum | 2022-05-24 | 1 | -120/+0 |
| | |||||
* | Prepare for different compression algorithms for distributed files | Harald Musum | 2022-05-24 | 5 | -21/+171 |
| | |||||
* | Make sure to delete directory for decompressed files if something fails | Harald Musum | 2022-05-22 | 2 | -23/+19 |
| | | | | Some other cosmetic fixes | ||||
* | install_jar CMake function | Håkon Hallingstad | 2022-05-20 | 1 | -1/+1 |
| | |||||
* | Do not create dependency-reduced-pom.xml | gjoranv | 2022-04-08 | 1 | -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. | ||||
* | Improve maven-shade-plugin filter, and move to parent pom. | gjoranv | 2022-02-03 | 1 | -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 Musum | 2022-02-02 | 1 | -2/+4 |
| | |||||
* | Exclude META-INF files and module-info.class from uber jars. | gjoranv | 2022-02-02 | 1 | -4/+2 |
| | | | | - Generate countless warnings for duplicates and breaking encapsulation. | ||||
* | Add SuppressWarnings for removal of config.subscription types. | gjoranv | 2022-02-02 | 1 | -0/+1 |
| | |||||
* | Use lower timeout | Harald Musum | 2022-01-12 | 1 | -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 warnings | Arne H Juul | 2022-01-06 | 1 | -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 retry | Harald Musum | 2021-12-16 | 1 | -7/+6 |
| | |||||
* | Don't try to download after timeout | Harald Musum | 2021-12-13 | 1 | -1/+3 |
| | |||||
* | Simplify and reorder arguments, no functional changes | Harald Musum | 2021-12-13 | 2 | -9/+5 |
| | |||||
* | Make sure sleep time never exceeds 120 seconds | Harald Musum | 2021-12-12 | 1 | -1/+2 |
| | |||||
* | Add exponential backoff if starting download fails | Harald Musum | 2021-12-12 | 1 | -2/+12 |
| | |||||
* | Make sure to always delete temp file/dir | Harald Musum | 2021-12-10 | 1 | -6/+5 |
| | |||||
* | Make sure to cleanup when failing to read file reference data | Harald Musum | 2021-12-06 | 1 | -1/+1 |
| | |||||
* | Merge pull request #20258 from vespa-engine/hmusum/move-logging-to-callers | Håkon Hallingstad | 2021-11-29 | 2 | -8/+1 |
|\ | | | | | Move logging in getFile() to callers | ||||
| * | M0;95;0cove logging in getFile() to callers | Harald Musum | 2021-11-28 | 2 | -8/+1 |
| | | |||||
* | | Add some more logging for file distribution connects | Harald Musum | 2021-11-28 | 1 | -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 files | Harald Musum | 2021-11-26 | 3 | -12/+20 |
| | |||||
* | Reduce timeout when downloading files | Harald Musum | 2021-11-26 | 1 | -2/+2 |
| | | | | | Reduce from 3 minutes to 30 seconds. Download will be retried on next run anyway. | ||||
* | Minor changes to logging | Harald Musum | 2021-11-26 | 1 | -4/+4 |
| | |||||
* | Reduce sleep time between retries | Harald Musum | 2021-11-26 | 1 | -1/+1 |
| | | | | We now use a new source for each retry, so reduce sleep time between retries | ||||
* | Simplify getting connection to use for file download | Harald Musum | 2021-11-17 | 2 | -8/+9 |
| | |||||
* | Add FileDistributionConnectionPool | Harald Musum | 2021-11-16 | 1 | -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 changes | Harald Musum | 2021-11-15 | 1 | -12/+20 |
| | |||||
* | Use correct variable in log message | Harald Musum | 2021-11-15 | 1 | -2/+2 |
| | |||||
* | Improve file download logging a bit | Harald Musum | 2021-11-15 | 1 | -1/+1 |
| | |||||
* | Lower log level for a couple of messages | Harald Musum | 2021-11-12 | 1 | -2/+2 |
| | |||||
* | Depend on http-utils | Harald Musum | 2021-10-22 | 1 | -0/+6 |
| |