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

Handling indexNotFoundError in populate cache #513

Draft
wants to merge 4 commits into
base: mainline
Choose a base branch
from

Conversation

pandu-k
Copy link
Collaborator

@pandu-k pandu-k commented Jun 22, 2023

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Bug fix

  • What is the current behavior? (You can also link to an open issue here)
    If an index mappings aren't retrievable, after get_indices on startup, Marqo can crash preventing proper startup

  • What is the new behavior (if this is a feature change)?
    If an index mappings aren't retrievable, after get_indices on startup, Marqo simply ignores that index and moves on

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    No

  • Have unit tests been run against this PR? (Has there also been any additional testing?)
    No. Test to make: concurrency test, testing for the failure scenario

  • Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)

@pandu-k pandu-k changed the title excepting indexNotFoundError excepting indexNotFoundError in populate cache Jun 22, 2023
@pandu-k pandu-k changed the title excepting indexNotFoundError in populate cache Handling indexNotFoundError in populate cache Jun 22, 2023
@vicilliar
Copy link
Contributor

TODO: Finish tests

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

Successfully merging this pull request may close these issues.

None yet

2 participants