fengshao0907 / weed-fs

Automatically exported from code.google.com/p/weed-fs
0 stars 0 forks source link

weed often missing file #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.weed master -defaultReplicationType=001 
weed volume -port=8081 -dir=/data/data/1 -max=100 -mserver="localhost:9333" 
-ip="localhost" -publicUrl="localhost:8080"
weed volume -port=8082 -dir=/data/data/2 -max=100 -mserver="localhost:9333" 
-ip="localhost" -publicUrl="localhost:8081"
2. save different sizes image  use
  curl http://<host>:<port>/dir/assign?count=3
3. after some time,miss original image or thumbnail.

why?isn't me replication strategy setting wrong ?
how to solve this problem?

What version of the product are you using? On what operating system?
centos6   weed-fs 0.42

Original issue reported on code.google.com by yaoweif...@gmail.com on 26 Sep 2013 at 10:01

GoogleCodeExporter commented 9 years ago
What's the url you use to upload the images? And after about how many files you 
will see this problem?

Original comment by chris...@gmail.com on 26 Sep 2013 at 5:22

GoogleCodeExporter commented 9 years ago
I use  fid  like http://localhost:8080/1,xxxxxx upload original image and use 
http://localhost:8080/1,xxxxx_(count) upload thumbnails.
first time,i can see all these images.but after some time ,these will lose of 
one or more. 

Original comment by yaoweif...@gmail.com on 27 Sep 2013 at 2:12

GoogleCodeExporter commented 9 years ago
Please be more specific so that I can reproduce it. 

How much time is "some time"? Do you just leave it stale or you keep on 
uploading files to it? How many files you are dealing with? Are you sure you 
are not overwriting it?

If the files are not too many, you can upload the volumes files to the bug.

Original comment by chris...@gmail.com on 27 Sep 2013 at 3:46

GoogleCodeExporter commented 9 years ago
Are you Chinese? Do you have any other contact way?

Original comment by yaoweif...@gmail.com on 27 Sep 2013 at 5:38

GoogleCodeExporter commented 9 years ago
We are on different time zone. You can write in Chinese if you want. I can read 
it.

Original comment by chris...@gmail.com on 27 Sep 2013 at 5:25

GoogleCodeExporter commented 9 years ago
Please provide more details.

Original comment by chris...@gmail.com on 16 Oct 2013 at 3:40

GoogleCodeExporter commented 9 years ago
At present, there still exist this problems.I can't provide some like how much 
time is "some time"?but what was certain was that  more frequently to lose 
data.I will continue to pay attention to this problem and give you useful 
information as soon as possible

Original comment by yaoweif...@gmail.com on 17 Oct 2013 at 1:03

GoogleCodeExporter commented 9 years ago
Very likely this is related to issue 52, where file may be missing when 
concurrency is high at specific moments.

Original comment by chris...@gmail.com on 31 Oct 2013 at 8:22