some question about how seaweedfs work

531 views
Skip to first unread message

min wu

unread,
Jan 20, 2016, 10:37:12 AM1/20/16
to Seaweed File System
i plan to put weedfs to production ..,i read the docs, setup 3 master  and 3 volume server on my test server.
weedfs verion is weed_0.70beta

i have few question 

1.i fond every master can serve request like lead master,is the master member server can independently handle request or just simply relay the request to leader server.?

2.i don't clearly understand the replication setting about the terms "rack" and "server", is the "rack" mean a machine who running   weed volume process ,and the "server" just is a  weed volume process  ,if i want every file in a machine have a copy ,so i set the rack=1 , if i want the specific volume server have copy i set the server=1, am i right?

3. what will happen if i started the volume server with -mserver leaderserver:9333 ,then i kill the leadserver process ,and i don't start the killed lead server ?  the volume server will still tring to connect to the dead server ? if the volume server will automaticly reconnect to the new leader ,for how long ? i can control the retry  or re-check time ?

4.does anyone have some experience with this project running in production .



Chris Lu

unread,
Jan 22, 2016, 12:11:33 AM1/22/16
to seaw...@googlegroups.com
1. simple relay
2. usually many servers or machines are put together on a rack.
3. if you have just one master, the volume server will keep trying to connect to the dead master. if you have 3 or 5 masters, the volume server will try to connect to the rest of servers.


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

min wu

unread,
Jan 27, 2016, 1:05:50 AM1/27/16
to Seaweed File System
thanks for the answers.

assume we have 3  servers . each server run a volume server process , i want make sure every file in the server have a copy in other server. 
 i just nedd set default replication type to 001?

another question 

if i runing replication type 001 , assuming i assigned an id "5,5cb7944ee7" from the master ,how can i known the copy of this file located and how to access this copy?


在 2016年1月22日星期五 UTC+8下午1:11:33,ChrisLu写道:

Chris Lu

unread,
Jan 27, 2016, 2:55:28 AM1/27/16
to seaw...@googlegroups.com
Yes.

To find out the locations of a volume:

Chris
Reply all
Reply to author
Forward
0 new messages