milvus-io / milvus

A cloud-native vector database, storage for next generation AI applications
https://milvus.io
Apache License 2.0
31.03k stars 2.95k forks source link

[Bug]: script `script/stop_graceful.sh` is non-functional #37003

Open alexanderguzhva opened 1 month ago

alexanderguzhva commented 1 month ago

Is there an existing issue for this?

Environment

- Milvus version:
master branch as of Oct 18
- Deployment mode(standalone or cluster):
standalone, built on a local machine from sources
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): 
ubuntu
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

Running sudo scripts/stop_graceful.sh leads to the following error message:

scripts/stop_graceful.sh: 17: Syntax error: "(" unexpected

and nothing happens

Expected Behavior

graceful stop of milvus

Steps To Reproduce

1. grab milvus from github.com/milvus-io/milvus and build it
2. start milvus
3. run `scripts/stop_graceful.sh` and see that milvus does not stop

Milvus Log

No response

Anything else?

No response

yanliang567 commented 1 month ago

/assign @LoveEachDay /unassign