apache / incubator-pegasus

Apache Pegasus - A horizontally scalable, strongly consistent and high-performance key-value store
https://pegasus.apache.org/
Apache License 2.0
1.96k stars 310 forks source link

chore(pack): Support to pack server binaries separately #2034

Closed Samunroyu closed 1 month ago

Samunroyu commented 1 month ago

This patch adds a new flag --separate_servers to indicate whether to pack pegasus_collectorpegasus_meta_server and pegasus_replica_server binaries, otherwise a combined pegasus_server binary will be packed in the pegasus_server_xxx.tar.

When build server in option --separate_servers,the corresponding option to use pack command is:

./run.sh pack_server -s  or ./run.sh pack_server --separate_servers
./run.sh pack_tools -s   or  ./run.sh pack_tools --separate_servers