forked from kvcache-ai/Mooncake
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Bo Lee edited this page Jan 31, 2026
·
19 revisions
mkdir -p build/cmake_cache
cmake ../.. -DSTORE_USE_ETCD=ON
make -j8
mkdir -p build
cmake .. -DBUILD_UNIT_TESTS=ON -DSTORE_USE_ETCD=ON -DUSE_ETCD=ON
make -j8
./mooncake-store/tests/oplog_manager_test
mooncake_master --enable_http_metadata_server true --http_metadata_server_port 8080 --enable_ha true --etcd_endpoints "http://127.0.0.1:2379;http://127.0.0.1:22379;http://127.0.0.1:32379" --cluster_id 12617104576396644977 --rpc_port 50051 --client_ttl 300 --snapshot_interval_sec 60
ETCDCTL_API=3 ETCDCTL_ENDPOINTS="http://127.0.0.1:2379,http://127.0.0.1:22379,http://127.0.0.1:32379" etcdctl endpoint status -w json | grep cluster_id
ETCDCTL_API=3 etcdctl \
--endpoints=http://127.0.0.1:2379,http://127.0.0.1:22379,http://127.0.0.1:32379 \
endpoint status --write-out=table
curl http://127.0.0.1:9003/get_all_keys
etcdctl get --prefix --keys-only /oplog
- 报错:mooncake_master: error while loading shared libraries: libetcd_wrapper.so: cannot open shared object file: No such file or directory
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib