Re: How to find the right volume?

16 views
Skip to first unread message

Philippe GASSMANN

unread,
Mar 25, 2014, 3:34:48 AM3/25/14
to weed-fil...@googlegroups.com
The error you get is normal: if you have 4 servers and you want to replicate to 4 servers, if a server goes down the "4 servers replication constraint" cannot be met. 

This works exactly as using a Raid1 array, if one disk goes down: you cannot write on the array anymore. 

This is mandatory to ensure data integrity, if you want a more highly available setup, then use more servers. You will not be able with your constraint of "full replication" and read data locally on every server to achieve highly available writing to weed-fs. 



2014-03-22 3:57 GMT+01:00 Julien Sobrier <jul...@sobrier.net>:
I thought I could use WeedFS in the following scenario but it des not seem to work as I expected:

I wanted to upload a file to 1 volume from 1 server, for example on a.com: http://a.com:8080/1,2710dc1b2cd3

On a different server, I want to retrieve the file uploaded locally: http://b.com:8080/1,2710dc1b2cd3

It looks like I have to replicate the file on the 4 servers in order to access it locally. But if I do that, I will get an error if any of the servers goes down:
{"error":"Cannot grow volume group! Not enough data node found!"}

--
You received this message because you are subscribed to the Google Groups "Weed File System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weed-file-syst...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
 Philippe
Reply all
Reply to author
Forward
0 new messages