algolia / algolia/algoliasearch-client-ruby

Regarding the Log "Too many indices, please remove unused indices before pushing"

Open
#464 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
172
Forks
73
PR merge metrics
No merged PRs in 30d

Description

- Algolia Client Version: 2.0.4
- Language Version: ruby-2.7.2

### Description

Hi Algolia team:

We recently see logs with message like this `Too many indices (xxx > xxx), please remove unused indices before pushing`, but it never seems to raise any error from our monitoring tools like Sentry or Rollbar when we use `.save_objects`

Just wondering if it is that `.save_objects` only care about success HTTP request but not success of index creation? Thus we need to use `.save_objects!` instead here?

### Steps To Reproduce

Calling `.save_objects` when almost reaching the limit.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.