derrickchoi / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

Double Upload? #135

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
first of all nice work ! :)

Got a Problem in version V1.19 R271.

I startet s3fs in console mode and watched the output.

If im using this command (test doesnt exist yet):

dd if=/dev/zero bs=1 count=1 >> test

i get followring daemon output:

getattr[path=/test]
mknod[path=/test][mode=33188]
getattr[path=/test]
open[path=/test][flags=33793]
downloading[path=/test][fd=4]
flush[path=/test][fd=4]
uploading[path=/test][fd=4][size=0]
flush[path=/test][fd=4]
uploading[path=/test][fd=4][size=1]
release[path=/test][fd=4]

if i use this command again, i get this output:

getattr[path=/test]
open[path=/test][flags=33793]
flush[path=/test][fd=4]
uploading[path=/test][fd=4][size=1]
flush[path=/test][fd=4]
uploading[path=/test][fd=4][size=2]
release[path=/test][fd=4]

Is there any (amazon reason?) why its uploaded _twice_?

(i just added 1 byte so it should only upload the 2 byte file again and not the 
1 byte file and then again the 2byte file or am i wrong?)

Im using Debian squeeze for this test. ~

Original issue reported on code.google.com by sascha.a...@gmail.com on 8 Dec 2010 at 3:39

GoogleCodeExporter commented 8 years ago

Original comment by dmoore4...@gmail.com on 8 Dec 2010 at 11:23