remove temp file after upload to special remote
This commit is contained in:
parent
9461793ffc
commit
66679c9bb4
2 changed files with 4 additions and 0 deletions
|
@ -179,6 +179,7 @@ proxySpecialRemote protoversion r ihdl ohdl owaitv endv = go
|
||||||
_ -> giveup "protocol error"
|
_ -> giveup "protocol error"
|
||||||
else store
|
else store
|
||||||
_ -> giveup "protocol error"
|
_ -> giveup "protocol error"
|
||||||
|
liftIO $ removeWhenExistsWith removeFile (fromRawFilePath tmpfile)
|
||||||
|
|
||||||
proxyget offset af k = withproxytmpfile k $ \tmpfile -> do
|
proxyget offset af k = withproxytmpfile k $ \tmpfile -> do
|
||||||
-- Don't verify the content from the remote,
|
-- Don't verify the content from the remote,
|
||||||
|
|
|
@ -28,6 +28,9 @@ Planned schedule of work:
|
||||||
|
|
||||||
## work notes
|
## work notes
|
||||||
|
|
||||||
|
* testremote hangs at PUT to on a cluster accessed over http that
|
||||||
|
has a node that is a directory special remote.
|
||||||
|
|
||||||
* When part of a file has been sent to a cluster via the http server,
|
* When part of a file has been sent to a cluster via the http server,
|
||||||
the transfer interrupted, and another node is added to the cluster,
|
the transfer interrupted, and another node is added to the cluster,
|
||||||
and the transfer of the file performed again, there is a failure
|
and the transfer of the file performed again, there is a failure
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue