forked from Terry-Mao/bfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhapuyu
authored
Jun 16, 2016
1 parent
7facb45
commit 12ab0d4
Showing
1 changed file
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
<<<<<<< HEAD | ||
# bfsops | ||
The background management interface of BFS. | ||
======= | ||
# bfsops | ||
The background management interface of BFS. | ||
>>>>>>> 7d8b931a9e68fda757ca26536ef0a50189407e43 | ||
|
||
## 初始化流程: | ||
|
||
###step 1 | ||
启动store、directory、proxy、pitchfork | ||
store启动后,zookeeper看到/rack 有store节点 | ||
|
||
###step 2: | ||
调用space()函数,初始化store,调用完成后,磁盘空间会被分配;bfs存储目录看到生成的volume文件。 | ||
|
||
###step 3: | ||
调用groups()函数,store分组,调用完成后,zookeeper看到/group/ 有组节点 | ||
|
||
###step 4: | ||
调用volumes()函数, 生效volume,调用完成后,zookeeper看到/volume/有volume节点 | ||
|
||
### Done |