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

ES index managment functions do not close client connection #132

Closed
ahuarte47 opened this issue Jan 26, 2023 · 1 comment
Closed

ES index managment functions do not close client connection #132

ahuarte47 opened this issue Jan 26, 2023 · 1 comment

Comments

@ahuarte47
Copy link
Contributor

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

@ahuarte47
Copy link
Contributor Author

I close this issue, related fix was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant