Skip to content

API "routing" fails - 404 error #80

@tmnhy

Description

@tmnhy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions