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

[BUG] No permissions for writing to OpenSearch serverless collection only shows errors after max_retries limit is reached #3508

Closed
graytaylor0 opened this issue Oct 16, 2023 · 0 comments · Fixed by #3532
Assignees
Labels
bug Something isn't working
Milestone

Comments

@graytaylor0
Copy link
Member

Describe the bug
No permissions when writing to serverless collections results in infinite retry (or up to max_retries) before an exception message is shown to the user. This can lead to never seeing the permission issue. This may occur for more than just serverless collections but I have only personally hit the issue with serverless

To Reproduce
Steps to reproduce the behavior:

  1. Create a serverless collection
  2. Configure an OpenSearch sink with this serverless collection, with an sts_role_arn that does not have permissions on the data access policy

Expected behavior
Log permission exceptions immediately when they occur, instead of after the max_retries limit is reached. The easiest solution would be for us to log on top of Bulk Operation Failed. Number of retries {}. Retrying... with one of the actual bulkResponse exceptions

Additional context
Add any other context about the problem here.

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
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants