Skip to content

[BUG] Index endpoint health is green on deleted index #1293

@lutek

Description

@lutek

Describe the bug
Endpoint health is green on deleted index

To Reproduce

Create and delete index, endpoint health is green.

Bash(curl -X GET "http://localhost:8882/indexes/t1s3p_v1/health")
  ⎿  {                                                                                                                                                           
       "status": "green",
       "inference": {
         "status": "green"
       },
       "backend": {
         "status": "green",
         "memoryIsAvailable": true,
         "storageIsAvailable": true
       }
     }

Bash(curl -X GET "http://localhost:8882/indexes/t1s3p_v1/stats")
  ⎿  {                                                                                                                                                           
       "message": "Index t1s3p_v1 not found",
       "code": "index_not_found",
       "type": "invalid_request",
       "link": null
     }

Additional context
docker image: margo-cloud:2.23.1

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