-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to define the conf --when run the example counter. #9
Comments
i'm a newer programer and i'm very hopely to try the brafter |
Did you run counter_server via run_server.sh? |
yes , i use the batch script run_server.sh to run the server |
my steps:
i don't know whether there has some wrong steps or wrong parameters. |
The ip via |
it's just like what you said, i can test the counter now. thank you. |
when i run the example counter,i got some problem like "". i think it is caused by undefine conf. so how do i define the conf ? please tell me ,thank you.
DEFINE_string(conf, "", "Initial configuration of the replication group");
the error :
node Counter:127.0.0.1:8100:0 term 1 start pre_vote
W0320 16:40:10.782916 13281 /home/robin/github/braft/src/braft/node.cpp:1305] node Counter:127.0.0.1:8100:0 can't do pre_vote as it is not in 192.168.109.128:8100:0,192.168.109.128:8101:0,192.168.109.128:8102:0
The text was updated successfully, but these errors were encountered: