Skip to content

ES index managment functions do not close client connection #132

Closed
@ahuarte47

Description

@ahuarte47

Describe the bug
Functions to create and delete ES indexes do not close the ES client connection:

  • create_collection_index
  • create_item_index
  • delete_item_index

App outputs error messages to alert about this issue.

This issue occurs debugging in Windows and running in AWS Lambda. When this backend runs in AWS Lambda, create_collection_index is always invoked when starting the app, is this a severe issue?

To Reproduce
Steps to reproduce the behavior:

  1. Start app
  2. Invoke create_collection_index
  3. End app
  4. See error

Expected behavior
ES index managment functions should close the client connections.

Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions