summaryrefslogtreecommitdiffstats
path: root/filedistribution
Commit message (Collapse)AuthorAgeFilesLines
* Fix minor stuff found while reading code, no functional changesHarald Musum2020-11-061-1/+1
|
* Write content for files in diretory to fileHarald Musum2020-11-046-25/+69
| | | | | | Instead of storing data from file reference that is a directory in a byte array (which might be huge and use a lot of memory), store in a temporary file and delete file when calling close()
* More testing of downloadHarald Musum2020-10-152-2/+4
|
* Revert "Revert "Log more when downloading file fails""Harald Musum2020-10-152-5/+15
|
* Revert "Log more when downloading file fails"Harald Musum2020-10-152-15/+5
|
* Log more when downloading file failsHarald Musum2020-10-142-5/+15
| | | | Include client info
* Log at lower level when moving file and file already existsHarald Musum2020-10-051-5/+8
| | | | | | No need to log at info level, this is not a filure and will happen occasionally. Also minor change so that we log if deleting a file fails.
* Create classes for keeping track of downloads and download statusesHarald Musum2020-10-011-47/+117
|
* Move code and make sure we synchronize while doing all operationsHarald Musum2020-10-012-19/+11
|
* Handle verifySession failingHarald Musum2020-09-301-8/+11
|
* Increase timeout to stabilize testHarald Musum2020-09-211-1/+1
|
* Name the transport threads to understand how things are interconnected.Henning Baldersheim2020-08-041-1/+1
|
* Log lessHarald Musum2020-08-031-3/+3
|
* Let FileDownloader implement AutoClosablegjoranv2020-06-091-1/+1
|
* Add public ctor in FileDownloader that takes a downloadDirectorygjoranv2020-06-091-1/+5
| | | | + Use it in the ApplicationPackageMaintainer
* Revert "Swith to a new connection if possible when asked to do so"Harald Musum2020-05-182-2/+5
|
* Swith to a new connection if possible when asked to do soHarald Musum2020-05-182-5/+2
| | | | | Try to avoid reusing the same connection we want to avoid using, only using it when there is just one source
* Remove unnecessary dependencies to vespalog.gjoranv2020-04-271-5/+0
|
* Replace remaining LogLevel.<level> with corresponding Levelgjoranv2020-04-251-1/+1
|
* Map remaining DEBUG/SPAM/ERROR/FATAL -> Level.FINE/FINEST/SEVEREgjoranv2020-04-251-1/+1
|
* LogLevel.ERROR -> Level.SEVEREgjoranv2020-04-251-6/+6
|
* LogLevel.WARNING -> Level.WARNINGgjoranv2020-04-254-5/+5
|
* LogLevel.INFO -> Level.INFOgjoranv2020-04-252-9/+9
|
* LogLevel.SPAM -> Level.FINESTgjoranv2020-04-251-1/+1
|
* LogLevel.DEBUG -> Level.FINEgjoranv2020-04-254-11/+11
|
* Import java.util.logging.Level instead of com.yahoo.log.LogLevelgjoranv2020-04-255-5/+5
|
* Less and improved loggingHarald Musum2020-04-163-19/+14
| | | | Some other minor changes as well, but no functional changes
* Revert "Delete destination dir before moving files"Harald Musum2020-04-081-3/+0
|
* Use CompletableFutureHarald Musum2020-04-034-45/+82
| | | | Minor refactoring, add test for getting file while downloading
* Minor refactoringHarald Musum2020-04-023-22/+17
|
* Use minimum 8 threadsHarald Musum2020-04-011-1/+2
|
* Revert "Make sure to only add to downloads when rpc call succeeds"Harald Musum2020-03-301-23/+32
|
* Make sure to only add to downloads when rpc call succeedsHarald Musum2020-03-301-32/+23
| | | | | Synchronize around all code that true to start download and only add to downloads if call succeeds
* 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 …