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] Generic error for persistent task on starting replication #707

Open
soosinha opened this issue Feb 16, 2023 · 0 comments
Open

[BUG] Generic error for persistent task on starting replication #707

soosinha opened this issue Feb 16, 2023 · 0 comments
Assignees
Labels
bug Something isn't working must_fix v2.11.0 Issues targeting release v2.11.0

Comments

@soosinha
Copy link
Member

What is the bug?
When start replication API fails due to failure in starting persistent task, the exact reason does not appear in the response. The response has a generic error message Timed out when waiting for persistent task after 1m

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Create an index testindex123 and create an alias testindex for it on the leader cluster.
  2. start replication with leader index name as testindex123 and follower index name as testindex
  3. This should error out with above generic message.

What is the expected behavior?
The specific error while starting the replication should appear in the response. In the logs, the error is printed as cannot rename index [testindex123] into [testindex] because of conflict with an alias with the same name. This message should be bubbled up and returned in the response.
The simulation is for one scenario. All the scenarios should be listed for failure of starting persistent task and appropriate error message should be returned

@soosinha soosinha added bug Something isn't working untriaged v2.7.0 and removed untriaged labels Feb 16, 2023
@nisgoel-amazon nisgoel-amazon self-assigned this Apr 28, 2023
@monusingh-1 monusingh-1 added v2.9.0 and removed v2.8.0 labels Jun 2, 2023
@monusingh-1 monusingh-1 added v2.1.0 and removed v2.9.0 labels Jul 10, 2023
@monusingh-1 monusingh-1 added v2.10.0 Issues targeting release v2.10.0 and removed v2.1.0 labels Jul 24, 2023
@monusingh-1 monusingh-1 added v2.1.1 v2.11 and removed v2.10.0 Issues targeting release v2.10.0 v2.1.1 labels Sep 6, 2023
@monusingh-1 monusingh-1 added v2.11.0 Issues targeting release v2.11.0 and removed v2.11 labels Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working must_fix v2.11.0 Issues targeting release v2.11.0
Projects
None yet
Development

No branches or pull requests

5 participants