summaryrefslogtreecommitdiffstats
path: root/filedistribution
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Delete inprogress file in a finally clauseHarald Musum2018-02-071-1/+6
| |
| * Delete inprogress fileHarald Musum2018-02-071-0/+1
| |
* | Revert "Use same path (and therefore, same file system) for tmp files"Harald Musum2018-02-071-1/+1
|/
* Merge pull request #4946 from ↵Henning Baldersheim2018-02-071-1/+1
|\ | | | | | | | | vespa-engine/hmusum/use-same-fs-for-tmp-as-for-filereferences Use same path (and therefore, same file system) for tmp files
| * Use same path (and therefore, same file system) for tmp filesHarald Musum2018-02-071-1/+1
| | | | | | | | | | We move files to file distribution dir after receiving and need to be on the same file system for that to work
* | Remove config and support for non-chunked transferHarald Musum2018-02-071-34/+1
|/
* Fill the buffer gradually.Henning Baldersheim2018-02-062-5/+23
|
* Handle long file names in tar archivesHarald Musum2018-02-052-3/+6
|
* Minor style fixes, no functional changesHarald Musum2018-01-301-16/+20
|
* Do not create dir when moving compressed dataHarald Musum2018-01-302-8/+37
|