Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Increase RPC timeout for getting files and use environment variable if set | Harald Musum | 2021-03-01 | 1 | -3/+5 |
| | |||||
* | Fix minor stuff found while reading code, no functional changes | Harald Musum | 2020-11-06 | 1 | -1/+1 |
| | |||||
* | Write content for files in diretory to file | Harald Musum | 2020-11-04 | 4 | -19/+38 |
| | | | | | | 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 download | Harald Musum | 2020-10-15 | 2 | -2/+4 |
| | |||||
* | Revert "Revert "Log more when downloading file fails"" | Harald Musum | 2020-10-15 | 2 | -5/+15 |
| | |||||
* | Revert "Log more when downloading file fails" | Harald Musum | 2020-10-15 | 2 | -15/+5 |
| | |||||
* | Log more when downloading file fails | Harald Musum | 2020-10-14 | 2 | -5/+15 |
| | | | | Include client info | ||||
* | Log at lower level when moving file and file already exists | Harald Musum | 2020-10-05 | 1 | -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 statuses | Harald Musum | 2020-10-01 | 1 | -47/+117 |
| | |||||
* | Move code and make sure we synchronize while doing all operations | Harald Musum | 2020-10-01 | 2 | -19/+11 |
| | |||||
* | Handle verifySession failing | Harald Musum | 2020-09-30 | 1 | -8/+11 |
| | |||||
* | Name the transport threads to understand how things are interconnected. | Henning Baldersheim | 2020-08-04 | 1 | -1/+1 |
| | |||||
* | Log less | Harald Musum | 2020-08-03 | 1 | -3/+3 |
| | |||||
* | Let FileDownloader implement AutoClosable | gjoranv | 2020-06-09 | 1 | -1/+1 |
| | |||||
* | Add public ctor in FileDownloader that takes a downloadDirectory | gjoranv | 2020-06-09 | 1 | -1/+5 |
| | | | | + Use it in the ApplicationPackageMaintainer | ||||
* | Revert "Swith to a new connection if possible when asked to do so" | Harald Musum | 2020-05-18 | 1 | -1/+2 |
| | |||||
* | Swith to a new connection if possible when asked to do so | Harald Musum | 2020-05-18 | 1 | -2/+1 |
| | | | | | Try to avoid reusing the same connection we want to avoid using, only using it when there is just one source | ||||
* | Replace remaining LogLevel.<level> with corresponding Level | gjoranv | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | Map remaining DEBUG/SPAM/ERROR/FATAL -> Level.FINE/FINEST/SEVERE | gjoranv | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | LogLevel.ERROR -> Level.SEVERE | gjoranv | 2020-04-25 | 1 | -6/+6 |
| | |||||
* | LogLevel.WARNING -> Level.WARNING | gjoranv | 2020-04-25 | 4 | -5/+5 |
| | |||||
* | LogLevel.INFO -> Level.INFO | gjoranv | 2020-04-25 | 2 | -9/+9 |
| | |||||
* | LogLevel.SPAM -> Level.FINEST | gjoranv | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | LogLevel.DEBUG -> Level.FINE | gjoranv | 2020-04-25 | 4 | -11/+11 |
| | |||||
* | Import java.util.logging.Level instead of com.yahoo.log.LogLevel | gjoranv | 2020-04-25 | 5 | -5/+5 |
| | |||||
* | Less and improved logging | Harald Musum | 2020-04-16 | 3 | -19/+14 |
| | | | | Some other minor changes as well, but no functional changes | ||||
* | Revert "Delete destination dir before moving files" | Harald Musum | 2020-04-08 | 1 | -3/+0 |
| | |||||
* | Use CompletableFuture | Harald Musum | 2020-04-03 | 3 | -34/+25 |
| | | | | Minor refactoring, add test for getting file while downloading | ||||
* | Minor refactoring | Harald Musum | 2020-04-02 | 2 | -20/+11 |
| | |||||
* | Use minimum 8 threads | Harald Musum | 2020-04-01 | 1 | -1/+2 |
| | |||||
* | Revert "Make sure to only add to downloads when rpc call succeeds" | Harald Musum | 2020-03-30 | 1 | -23/+32 |
| | |||||
* | Make sure to only add to downloads when rpc call succeeds | Harald Musum | 2020-03-30 | 1 | -32/+23 |
| | | | | | Synchronize around all code that true to start download and only add to downloads if call succeeds | ||||
* | Make sure to shutdown executor | Harald Musum | 2020-01-14 | 2 | -3/+11 |
| | |||||
* | Delete destination dir before moving files | Harald Musum | 2020-01-08 | 1 | -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 | ||||
* | Log at level INFO when file already exists | Harald Musum | 2019-07-17 | 1 | -9/+15 |
| | |||||
* | Add maintainer for deleting unused file references and downloads | Harald Musum | 2019-07-10 | 1 | -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-proxy | Harald Musum | 2019-07-08 | 1 | -135/+0 |
| | | | | Only used in one place, just RPC stuff, so move to config-proxy module | ||||
* | Minor refactoring, move into separate package | Harald Musum | 2019-07-05 | 1 | -0/+10 |
| | |||||
* | Remove usage of deprecated Method constructor | Bjørn Christian Seime | 2019-05-23 | 2 | -25/+15 |
| | |||||
* | Fix directory checked for already downloaded files | Harald Musum | 2018-04-21 | 2 | -13/+13 |
| | |||||
* | Only download file if needed (if it does not exist on disk already) | Harald Musum | 2018-04-19 | 3 | -5/+30 |
| | |||||
* | Merge pull request #5465 from ↵ | Henning Baldersheim | 2018-04-05 | 2 | -6/+5 |
|\ | | | | | | | | | 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 Musum | 2018-04-05 | 2 | -6/+5 |
| | | | | | | | | progress | ||||
* | | Log at higher log level if retrying | Harald Musum | 2018-04-05 | 1 | -6/+10 |
|/ | |||||
* | Always set error for connection if response is invalid | Harald Musum | 2018-04-03 | 1 | -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 Baldersheim | 2018-04-03 | 1 | -4/+7 |
|\ | | | | | | | | | vespa-engine/hmusum/throw-exception-when-unable-to-decompress Throw exception when unable to decompress | ||||
| * | Throw exception when unable to decompress | Harald Musum | 2018-04-03 | 1 | -4/+7 |
| | | |||||
* | | FileReceiver is needed to receive RPC calls from server | Harald Musum | 2018-04-03 | 2 | -3/+6 |
| | | |||||
* | | Revert "Revert "Remove method only used in tests"" | Harald Musum | 2018-04-03 | 3 | -47/+3 |
|/ | |||||
* | Revert "Remove method only used in tests" | Harald Musum | 2018-04-03 | 3 | -3/+47 |
| |