Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

task.cpp need_add_server_to_map #7

Open
git-hulk opened this issue Mar 2, 2015 · 0 comments
Open

task.cpp need_add_server_to_map #7

git-hulk opened this issue Mar 2, 2015 · 0 comments

Comments

@git-hulk
Copy link

git-hulk commented Mar 2, 2015

https://github.com/alibaba/tfs/blob/master/src/nameserver/task.cpp#L67

return type_ == PLAN_TYPE_MOVE || type_ == PLAN_TYPE_REPLICATE || PLAN_TYPE_COMPACT;

这个是否为手误? 是不是应该为:

return type_ == PLAN_TYPE_MOVE || type_ == PLAN_TYPE_REPLICATE || type_ == PLAN_TYPE_COMPACT;

还是特意让代码一直返回true

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant