apple / foundationdb

FoundationDB - the open source, distributed, transactional key-value store
https://apple.github.io/foundationdb/
Apache License 2.0
14.56k stars 1.32k forks source link

Improvement request: make "127.0.0.1 detault server setup" optional for installation #382

Open Chr1st0ph opened 6 years ago

Chr1st0ph commented 6 years ago

Hi,

some guys ( including myself ) wrote Dockerfiles for FoundationDB:

https://forums.foundationdb.org/t/simple-dockerfile/280/5 https://forums.foundationdb.org/t/how-are-contributing-workers-computed/360 https://forums.foundationdb.org/t/foundationdb-kubernetes-having-issues/383/4

The solution is to delete the data files which were created during setup by the "127.0.0.1 server process".

I would love to see a possibility to make the "detault-server-setup" optional ( e.g. by setting an environment variable before running the package install ).

What are your thoughts ?

jehiah commented 6 years ago

I've had similar issues with the rpm postinstall steps. I ended up building my own rpm w/o a postinstall step so that installing the RPM is independent from running and managing a database cluster.