aboutsummaryrefslogtreecommitdiffstats
path: root/filedistribution/src/main/java/com/yahoo/vespa
Commit message (Collapse)AuthorAgeFilesLines
* Use try-with-resources for FileReferenceDataHarald Musum2023-08-141-1/+1
|
* Make sure we don't swallow exceptions when transferring a file failsHarald Musum2023-08-032-56/+1
|
* Reduce log levelHarald Musum2023-04-252-6/+6
|
* Define required capabilities for existing JRT RPC methodsBjørn Christian Seime2023-02-091-0/+4
|
* Stop using file distribution feature flags, not needed anymoreHarald Musum2023-02-012-18/+14
|
* Revert "Revert "Support zstd as compression type for file references, take 2""Harald Musum2023-01-161-4/+4
|
* Revert "Support zstd as compression type for file references, take 2"Harald Musum2023-01-161-4/+4
|
* Go back to previous way of creating new streamsHarald Musum2023-01-131-13/+8
|
* Revert "Revert "Support zstd as compression type for file references""Harald Musum2023-01-121-9/+14
|
* Revert "Support zstd as compression type for file references"Harald Musum2023-01-121-14/+9
|
* Close stream if unknown typeHarald Musum2023-01-121-0/+2
|
* Support zstd as compression type for file referencesHarald Musum2023-01-121-9/+12
|
* Revert "Revert collect(Collectors.toList())"Henning Baldersheim2022-12-041-1/+1
|
* Revert collect(Collectors.toList())Henning Baldersheim2022-12-041-1/+1
|
* collect(Collectors.toList()) -> toList()Henning Baldersheim2022-12-021-1/+1
|
* Revert "Revert "- Reduce usage of guava.""Henning Baldersheim2022-12-011-16/+10
|
* Revert "- Reduce usage of guava."Henning Baldersheim2022-12-011-10/+16
|
* - Reduce usage of guava.Henning Baldersheim2022-12-011-16/+10
| | | | - Ensure that tests relying on order are determinsitic.
* Use transferTo for copying streams, avoid GuavaHarald Musum2022-11-301-6/+6
|
* Split out filedistribution client into its own moduleHarald Musum2022-11-291-249/+0
|
* Wait longer for downloads to finishHarald Musum2022-11-221-1/+1
|
* Revert "Refactor cleanup of file references"Harald Musum2022-10-111-107/+0
|
* Use try-with-resources when getting file references in pathHarald Musum2022-10-101-16/+17
|
* Use a Stream to read files, might go OOM otherwiseHarald Musum2022-10-101-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 referencesHarald Musum2022-10-071-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 Baldersheim2022-08-122-2/+4
| | | | magic conversions.
* Merge pull request #23391 from ↵Henning Baldersheim2022-07-071-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 referencesHarald Musum2022-07-061-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 Musum2022-07-066-8/+13
| | | | | | | | request""
* | Revert "Make sure to set compression type in file distribution meta request ↵Harald Musum2022-07-066-13/+8
| | | | | | | | [run-systemtest]"
* | Make sure to set compression type in file distribution meta requestHarald Musum2022-07-066-8/+13
|/
* Wire in use of compression types and flags for file distributionHarald Musum2022-07-063-11/+30
| | | | | VESPA_FILE_DISTRIBUTION_ACCEPTED_COMPRESSION_TYPES is not set anywhere yet, will be set through host-admin
* Support specifying compression type for file distribution requestsHarald Musum2022-07-053-11/+43
| | | | | | 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 outHarald Musum2022-06-221-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
* Revoke com.yahoo.config.subscription as public APIHarald Musum2022-06-081-1/+0
| | | | Also remove some deprecated methods in ConfigGetter
* Revert "Support compressing files (not just directories) in file ↵Harald Musum2022-05-253-43/+23
| | | | distribution [run-systemtest]"
* Support compressing files (not just directories) in file distributionHarald Musum2022-05-253-23/+43
| | | | | Use file distribution compression feature flags and support compressing single files
* Remove unintended checkinHarald Musum2022-05-241-120/+0
|
* Prepare for different compression algorithms for distributed filesHarald Musum2022-05-243-13/+163
|
* Make sure to delete directory for decompressed files if something failsHarald Musum2022-05-222-23/+19
| | | | Some other cosmetic fixes
* 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
* 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-131-6/+2
|
* 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-291-7/+0
|\ | | | | Move logging in getFile() to callers