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

API "routing" fails - 404 error #80

Closed
tmnhy opened this issue Jul 30, 2021 · 1 comment
Closed

API "routing" fails - 404 error #80

tmnhy opened this issue Jul 30, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@tmnhy
Copy link

tmnhy commented Jul 30, 2021

From time a time API returns a 404 error on trying to upsert points

Current Behavior

On system - process qdrant loads one processor core 100%

On server side:

...
[2021-07-30T05:27:55Z INFO  actix_web::middleware::logger] 172.17.0.1:43706 "POST /collections/test_collection?wait=true HTTP/1.1" 200 86 "-" "Python
/3.6 aiohttp/3.7.4.post0" 0.024770
[2021-07-30T05:28:01Z INFO  actix_web::middleware::logger] 172.17.0.1:43710 "POST /collections/test_collection?wait=true HTTP/1.1" 404 87 "-" "Python
/3.6 aiohttp/3.7.4.post0" 0.014020
[2021-07-30T05:28:09Z INFO  actix_web::middleware::logger] 172.17.0.1:43714 "POST /collections/test_collection?wait=true HTTP/1.1" 404 86 "-" "Python
/3.6 aiohttp/3.7.4.post0" 0.015836
[2021-07-30T05:28:17Z INFO  actix_web::middleware::logger] 172.17.0.1:43718 "POST /collections/test_collection?wait=true HTTP/1.1" 404 88 "-" "Python
/3.6 aiohttp/3.7.4.post0" 0.012977
...

On client side:

...
{'result': None, 'status': {'error': 'No point with id 100911063 found'}, 'time': 0.003710724}
{'result': None, 'status': {'error': 'No point with id 100890079 found'}, 'time': 0.009171441}
...

Steps to Reproduce

  1. Create collection like:
{
    "create_collection": {
        "name": "test_collection",
        "vector_size": 256,
        "distance": "Cosine"
    }
}
  1. Insert enough points making many POST requests. From 80 to 150 point on request, one request every 5-10 seconds.
  2. After about 300-500 requests Qdrant returning 404 for each request

Expected Behavior

  • Message in server logs about cause of the error
  • tips to avoid this

Possible Solution

Wait for qdrant to restart web server or restart qdrant manually

Context (Environment)

  • Host system based on i7-3930
  • Ubuntu 18.04
  • Memory free: ~1G
  • Disk free
  • Docker version 20.10.2
  • latest docker image builted on host
@tmnhy tmnhy added the bug Something isn't working label Jul 30, 2021
@generall
Copy link
Member

Should be fixed in https://github.com/qdrant/qdrant/releases/tag/v0.3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants