FactomProject / WorkItems

factoid
3 stars 1 forks source link

location of block files indeterminate #888

Closed carryforward closed 8 years ago

carryforward commented 9 years ago

in the config file it puts them in data/export/ https://github.com/FactomProject/FactomCode/blob/master/factomd/factomd.conf

in the compiled in config file it puts them in store/seed https://github.com/FactomProject/FactomCode/blob/master/util/config.go

carryforward commented 8 years ago

I have updated Hotfix5 to have the default (with no factom.conf file) file paths for the ldb and block files match the locations in the default config file.

https://github.com/FactomProject/FactomCode/commit/5c093b3eaef758c248ae7cb8ca1bea0dc6315743

This will stop confusing situations where files get written to different locatins when a config file is added or removed.

factomd should now only make ~/.factom/ldb and ~/.factom/data/export/ directorys, and not ~/.factom/ldb9 and ~/.factom/store/seed/

beam is worried about strange failures when the config file is updated.

drobertbaker commented 8 years ago

no sign of ~/.factom/ldb9 and ~/.factom/store/seed/ and ~/.factom/ldb and ~/.factom/data/export/ are present