Use same path (and therefore, same file system) for tmp files
We move files to file distribution dir after receiving and
need to be on the same file system for that to work
@@ -36,7 +36,7 @@ public class FileDownloader {
public FileDownloader(ConnectionPool connectionPool) {
this(connectionPool,
new File(Defaults.getDefaults().underVespaHome("var/db/vespa/filedistribution")),
- new File(Defaults.getDefaults().underVespaHome("tmp")),
+ new File(Defaults.getDefaults().underVespaHome("var/db/vespa/filedistribution")),
Duration.ofMinutes(15));
}
