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

Add cluster mode for fuse-test #151

Closed
BohuTANG opened this issue Mar 18, 2021 · 3 comments
Closed

Add cluster mode for fuse-test #151

BohuTANG opened this issue Mar 18, 2021 · 3 comments
Labels
A-query Area: databend query C-testing Category: testing prio: high High priority

Comments

@BohuTANG
Copy link
Member

BohuTANG commented Mar 18, 2021

Summary

For fuse-test supports Cluster and Standalone(now support), the init plans:
[1] Start two servers in https://github.com/datafuselabs/fuse-query/blob/master/docker/stateless/run.sh#L4

 # node-9090
 sudo nohup /fuse-query &

 # node-9091
 sudo nohup /fuse-query --http-api-address=127.0.0.1:8081 --metric-api-address=127.0.0.1:7071 --mysql-handler-port=3308 --rpc-api-address=127.0.0.1:9091&

[2] Add nodes to 127.0.0.1:9090(Coordinator)

#Add node-9090 
curl http://127.0.0.1:8080/v1/cluster/add -X POST -H "Content-Type: application/json" -d '{"name":"9090","address":"127.0.0.1:9090","cpus":8}'

#Add node-9091
curl http://127.0.0.1:8080/v1/cluster/add -X POST -H "Content-Type: application/json" -d '{"name":"9091","address":"127.0.0.1:9091","cpus":8}'

[3] node-9090 is in cluster with 2 nodes, and node-9091 is single stand
[4] Add 1_cluster for cluster mode test?

@BohuTANG BohuTANG added prio: high High priority C-testing Category: testing labels Mar 18, 2021
@sundy-li
Copy link
Member

I prefer to keep stateless tests just for single node testing.

And we can have integration-tests for cluster mode testing.

@BohuTANG
Copy link
Member Author

I prefer to keep stateless tests just for single node testing.

And we can have integration-tests for cluster mode testing.

LGTM

@BohuTANG BohuTANG added the A-query Area: databend query label Mar 23, 2021
@BohuTANG
Copy link
Member Author

Move to #391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-query Area: databend query C-testing Category: testing prio: high High priority
Projects
None yet
Development

No branches or pull requests

2 participants