Skip to content
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

weed server mode can’t set the master directory #872

Closed
ckhker opened this Issue Mar 6, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@ckhker
Copy link

commented Mar 6, 2019

weed server -master.port=9333 -volume.port=8080 -dir="data" -filer=true

-dir does not work for master.
Still saved to the temporary folder . the default "C:\Users\Administrator\AppData\Local\Temp"
Single open weed master -mdir="xxx" useful

os:win10

@chrislusf

This comment has been minimized.

Copy link
Owner

commented Mar 6, 2019

Please show the output or screenshot.

@ckhker

This comment has been minimized.

Copy link
Author

commented Mar 6, 2019

i check code
command/server.go line:188
myMasterAddress, peers := checkPeers(*masterIp, *mport, *masterPeers) raftServer := weed_server.NewRaftServer(security.LoadClientTLS(viper.Sub("grpc"), "master"), peers, myMasterAddress, *metaFolder, ms.Topo, *mpulse)

*metaFolder error, shloud be *masterMetaFolder

@chrislusf chrislusf closed this in ab32556 Mar 6, 2019

@chrislusf

This comment has been minimized.

Copy link
Owner

commented Mar 6, 2019

thanks a lot for debugging !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.