Skip to content
Snippets Groups Projects
Commit 812411e7 authored by piotr.kupczyk@id.ethz.ch's avatar piotr.kupczyk@id.ethz.ch Committed by vkovtun
Browse files

SSDM-13724 : MultiDatasetArchiver: failing to delete datasets from store due to open file handles

parent b50a790d
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -150,9 +150,9 @@ public abstract class AbstractDataSetPackager
{
long size = file.length();
long checksum = isChecksumNeeded() ? node.getChecksumCRC32() : 0;
try
try (InputStream nodeInputStream = node.getInputStream())
{
addEntry(entryPath, node.getLastModified(), size, checksum, node.getInputStream());
addEntry(entryPath, node.getLastModified(), size, checksum, nodeInputStream);
} catch (Exception ex)
{
throw CheckedExceptionTunnel.wrapIfNecessary(ex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment