google-code-export / camlistore

Automatically exported from code.google.com/p/camlistore
Apache License 2.0
0 stars 0 forks source link

cammount / FUSE fails on large file writes #554

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Platform: OSX client, GCE camlistored backed on GCS

Issue: cammount exits on an attempt to cp a large file (~76MB on my 
configuration) into a FUSE-mounted partition because mutFileHandle.Flush() is 
spending too long in schema.WriteFileFromReader(). As a result, the FUSE kext 
timeout triggers and it unmounts the FUSE volume before WriteFileFromReader, 
exits and the cp then fails.

My thought for fixing this is to upload incrementally in mutFileHandle.Write() 
or would this be the wrong approach?

Original issue reported on code.google.com by robkroeger on 29 Nov 2014 at 11:16

GoogleCodeExporter commented 9 years ago

Original comment by mathieu....@gmail.com on 2 Dec 2014 at 12:29

GoogleCodeExporter commented 9 years ago
FWIW: I have a patch in progress. Maybe by the weekend depending on work.

Original comment by robkroeger on 2 Dec 2014 at 1:50

GoogleCodeExporter commented 9 years ago
This issue has moved to https://camlistore.org/issue/554

Original comment by bradfitz on 14 Dec 2014 at 11:38