aboutsummaryrefslogtreecommitdiffstats
path: root/filedistribution
Commit message (Collapse)AuthorAgeFilesLines
* Make sure to shutdown executorHarald Musum2020-01-143-3/+17
|
* Delete destination dir before moving filesHarald Musum2020-01-081-0/+3
| | | | | | | Destination dir is either created and files moved into it or a directory itself is moved, so deleting the directory should always be safe and might fix an issue in case of full disk, interrupted process or some other issue leaving the file system in a bad state
* update shell bootstrap sectionsArne Juul2019-09-041-0/+4
|
* Log at level INFO when file already existsHarald Musum2019-07-171-9/+15
|
* Add maintainer for deleting unused file references and downloadsHarald Musum2019-07-101-5/+2
| | | | | | Will delete files and downloads to accessed for 30 days (depends on RequestTracker, which will change last modified timestamp when files or downloads are requested
* Move file distribution rpc server to config-proxyHarald Musum2019-07-081-135/+0
| | | | Only used in one place, just RPC stuff, so move to config-proxy module
* Minor refactoring, move into separate packageHarald Musum2019-07-051-0/+10
|
* Remove usage of deprecated Method constructorBjørn Christian Seime2019-05-232-25/+15
|
* Install vespa-status-filedistributionHarald Musum2019-03-201-0/+2
|
* 6-SNAPSHOT -> 7-SNAPSHOTArnstein Ressem2019-01-211-2/+2
|
* Use maven-shade-plugin to assemble fat jarBjørn Christian Seime2018-10-191-6/+15
| | | | | A bug in maven-assemble-plugin makes it very slow to assemble jar containing BouncyCastle
* Set MaxJavaStackTraceDepth to a value legal for all JVM versions.gjoranv2018-07-051-1/+1
| | | | - On JDK 9+, -1 is invalid, and 0 really means zero.
* update bootstrapArne Juul2018-05-161-2/+5
|
* update bootstrap section of scriptsArne Juul2018-05-141-0/+9
|
* Fix directory checked for already downloaded filesHarald Musum2018-04-213-14/+16
|
* Only download file if needed (if it does not exist on disk already)Harald Musum2018-04-194-13/+36
|
* Merge pull request #5465 from ↵Henning Baldersheim2018-04-053-8/+7
|\ | | | | | | | | vespa-engine/hmusum/do-not-queue-for-download-if-already-downloading Do not download only if another download for the same file reference …
| * Do not download only if another download for the same file reference is in ↵Harald Musum2018-04-053-8/+7
| | | | | | | | progress
* | Log at higher log level if retryingHarald Musum2018-04-051-6/+10
|/
* Always set error for connection if response is invalidHarald Musum2018-04-031-6/+2
| | | | | This will make sure we use another server the next time, no matter what the error was.
* Merge pull request #5441 from ↵Henning Baldersheim2018-04-031-4/+7
|\ | | | | | | | | vespa-engine/hmusum/throw-exception-when-unable-to-decompress Throw exception when unable to decompress
| * Throw exception when unable to decompressHarald Musum2018-04-031-4/+7
| |
* | FileReceiver is needed to receive RPC calls from serverHarald Musum2018-04-033-6/+9
| |
* | Revert "Revert "Remove method only used in tests""Harald Musum2018-04-035-56/+15
|/
* Revert "Remove method only used in tests"Harald Musum2018-04-035-15/+56
|
* Remove method only used in testsHarald Musum2018-04-025-56/+15
|
* Try to avoid using up all resources handling requests for non-existing fileHarald Musum2018-03-175-40/+46
| | | | | | | | Add field to request filedsitribution.serveFile that says if this request might lead to download from another config server. Avoid doing this when we are on a config server and try to download file from another config server, as that will end up using up all resources on all config servers if the file does not exist
* Install file distribtuion jarHarald Musum2018-03-161-0/+2
|
* Sleep longer between retries of RPC callsHarald Musum2018-03-163-8/+17
|
* Lower log level for common case where config server does not have fileHarald Musum2018-03-151-4/+3
|
* Change log level and add exception message to logHarald Musum2018-03-061-1/+1
|
* Make sure to remove from download queue if download fails, elseHarald Musum2018-03-053-2/+11
| | | | | we will never try to download again, even if there is an external request for the file reference again
* Reduce log level and create less garbageHarald Musum2018-02-195-25/+26
|
* Do download in a separate threadHarald Musum2018-02-132-22/+32
| | | | Avoid holding the transport thread
* Revert "Do work in RPC call for getting file in its own thread"Harald Musum2018-02-132-26/+17
|
* Merge pull request #5025 from ↵Henning Baldersheim2018-02-132-17/+26
|\ | | | | | | | | vespa-engine/hmusum/do-rpc-download-in-its-own-thread Do work in RPC call for getting file in its own thread
| * Move executionHarald Musum2018-02-132-19/+17
| |
| * Move to its own methodHarald Musum2018-02-131-18/+22
| |
| * Do work in RPC call for getting file in its own threadHarald Musum2018-02-131-15/+22
| |
* | Use available processors as thread countHarald Musum2018-02-131-1/+1
|/
* Revert "Use long timeout for RPC calls"Harald Musum2018-02-121-1/+1
|
* Use long timeout for RPC callsHarald Musum2018-02-121-1/+1
|
* Update READMEHarald Musum2018-02-081-1/+1
|
* Remove filedistribution cpp codeHenning Baldersheim2018-02-0888-6204/+10
|
* Remove object file all togetherHenning Baldersheim2018-02-082-2/+0
|
* Remove filedistributionmanager reference.Henning Baldersheim2018-02-081-9/+0
|
* Check for existence before deletingHarald Musum2018-02-071-1/+3
|
* Merge pull request #4957 from ↵Henning Baldersheim2018-02-071-1/+1
|\ | | | | | | | | vespa-engine/revert-4953-revert-4946-hmusum/use-same-fs-for-tmp-as-for-filereferences Revert "Revert "Use same path (and therefore, same file system) for tmp files""
| * Revert "Revert "Use same path (and therefore, same file system) for tmp files""Harald Musum2018-02-071-1/+1
| |
* | Merge pull request #4951 from vespa-engine/hmusum/delete-inprogress-fileHenning Baldersheim2018-02-071-0/+6
|\ \ | |/ |/| Delete inprogress file