aboutsummaryrefslogtreecommitdiffstats
path: root/filedistribution
Commit message (Collapse)AuthorAgeFilesLines
* Improve log message when download failsHarald Musum2021-05-261-3/+3
|
* Use error message instead of error code in log messageHarald Musum2021-05-261-1/+1
|
* Shutdown executorHarald Musum2021-05-101-0/+1
|
* More lazy debug log message generationJon Marius Venstad2021-04-281-1/+1
|
* Fix mockHarald Musum2021-04-281-11/+1
|
* Switch connection only when the current one is failingHarald Musum2021-04-282-2/+2
| | | | | | Subscribers set error on a connection if it fails, so when having many subscribers we should not switch unless the current connection is having errors
* Change the way we switch connection when the current one is not workingHarald Musum2021-04-272-2/+2
| | | | | | Consider only healthy sources (if there are any) when switching to a new one fue to failures. Also log when connecting to a source
* Reduce timeout when downloading a file and backoff if it failsHarald Musum2021-03-172-4/+7
|
* Increase RPC timeout for getting files and use environment variable if setHarald Musum2021-03-011-3/+5
|
* 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
|