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

replaceAllObjects + safe + new index = hangs forever #714

Open
apfelbox opened this issue Mar 7, 2023 · 1 comment
Open

replaceAllObjects + safe + new index = hangs forever #714

apfelbox opened this issue Mar 7, 2023 · 1 comment

Comments

@apfelbox
Copy link

apfelbox commented Mar 7, 2023

  • Algolia Client Version: 3.3.2
  • Language Version: PHP 8.2

Description

Using the method replaceAllObjects with a new index + safe hangs indefinitely:

$index->replaceAllObjects($items, [
    "safe" => true,
]);

If you use this method with an index that not yet exists, it will just hang forever – possibly because the request to copy the config will never succeed.

Steps To Reproduce

See above.

@samholguin
Copy link

We have the same.

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

2 participants