Loading src/main/java/it/inaf/ia2/transfer/persistence/FileDAO.java +1 −2 Original line number Diff line number Diff line Loading @@ -247,7 +247,6 @@ public class FileDAO { public void setBranchLocationId(String rootVosPath, String jobId, int locationId) { // TODO: validate rootVosPath as a vos_path String cte = "SELECT n.node_id AS id\n" + "FROM node n\n" + "JOIN node p ON p.path @> n.path\n" Loading src/main/java/it/inaf/ia2/transfer/service/PutFileService.java +4 −2 Original line number Diff line number Diff line Loading @@ -126,12 +126,14 @@ public class PutFileService { LOG.warn("Destination file {} size mismatch with source", destinationFile.toPath().toString()); } if (!sourceFileInfo.getContentType().equals(destinationFileInfo.getContentType())) { if (sourceFileInfo.getContentType() != null && !sourceFileInfo.getContentType().equals(destinationFileInfo.getContentType())) { LOG.warn("Destination file {} content type mismatch with source {} {}", destinationFile.toPath().toString(), destinationFileInfo.getContentType(), sourceFileInfo.getContentType()); } if (!sourceFileInfo.getContentMd5().equals(md5Checksum)) { if (sourceFileInfo.getContentMd5() != null && !sourceFileInfo.getContentMd5().equals(md5Checksum)) { LOG.warn("Destination file {} md5 mismatch with source {} {}", destinationFile.toPath().toString(), destinationFileInfo.getContentMd5(), sourceFileInfo.getContentMd5() ); } Loading Loading
src/main/java/it/inaf/ia2/transfer/persistence/FileDAO.java +1 −2 Original line number Diff line number Diff line Loading @@ -247,7 +247,6 @@ public class FileDAO { public void setBranchLocationId(String rootVosPath, String jobId, int locationId) { // TODO: validate rootVosPath as a vos_path String cte = "SELECT n.node_id AS id\n" + "FROM node n\n" + "JOIN node p ON p.path @> n.path\n" Loading
src/main/java/it/inaf/ia2/transfer/service/PutFileService.java +4 −2 Original line number Diff line number Diff line Loading @@ -126,12 +126,14 @@ public class PutFileService { LOG.warn("Destination file {} size mismatch with source", destinationFile.toPath().toString()); } if (!sourceFileInfo.getContentType().equals(destinationFileInfo.getContentType())) { if (sourceFileInfo.getContentType() != null && !sourceFileInfo.getContentType().equals(destinationFileInfo.getContentType())) { LOG.warn("Destination file {} content type mismatch with source {} {}", destinationFile.toPath().toString(), destinationFileInfo.getContentType(), sourceFileInfo.getContentType()); } if (!sourceFileInfo.getContentMd5().equals(md5Checksum)) { if (sourceFileInfo.getContentMd5() != null && !sourceFileInfo.getContentMd5().equals(md5Checksum)) { LOG.warn("Destination file {} md5 mismatch with source {} {}", destinationFile.toPath().toString(), destinationFileInfo.getContentMd5(), sourceFileInfo.getContentMd5() ); } Loading