-
Notifications
You must be signed in to change notification settings - Fork 38
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
It doesn't work in notebook #4
Comments
milvus.start
successfully in notebook
Can you post the server logs here? (usually at /tmp/e-milvus/logs) |
Actually, I have no such directory with #2. Can you reproduce it? |
Could be an old version. Can you check /tmp/milvus instead? |
From the log it looks like Milvus started successfully. Could be your version does not print that "---Milvus Proxy successfully initialized and ready to serve!---" line. Try waiting a while (1-2 minutes) before trying to use it |
Actually, it sometimes prints "---Milvus Proxy initialized successfully, ready to serve!---". So if I want to run all cells at once, adding time.sleep to my notebook is the only way, which I think is confusing. |
Emmm, sometime it takes longer for Milvus to fully startup and print that line. If not, it usually indicate something is wrong during Milvus startup |
Is there any function that checks if the embedded milvus is started? I added time.sleep(30) to the notebook but it still shows the error, I think it hasn't started successfully yet. |
It works when I run this code with python command:
But when I run it in notebook will get error:

It seems that milvus is not started, but in cell 1
milvus.start
has passed, strangely not printing "---Milvus Proxy successfully initialized and ready to serve!---".And it's like
milvus.start
is asynchronous in the notebook, cell 2 will work after minutes.The text was updated successfully, but these errors were encountered: