You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the logic here we'll add one level of nesting per index so when we have a large collection of indices it throws Yajl::EncodeError: Max nesting depth of 256 exceeded
Version Information
Chewy version - 7.2.3
Elasticsearch version - 7.12.0
Ruby version - 2.7.7
Rails version - 6.0.6.1
The text was updated successfully, but these errors were encountered:
Expected behavior
We should be able to use the journal clean functionality even when there are many indices
Actual behavior
It throws
Yajl::EncodeError: Max nesting depth of 256 exceeded
Steps to reproduce the problem
Run
Chewy::RakeHelper.journal_clean(except:"some_index")
You will see that you get a deeply nested ES query that looks like the following
Due to the logic here we'll add one level of nesting per index so when we have a large collection of indices it throws
Yajl::EncodeError: Max nesting depth of 256 exceeded
Version Information
The text was updated successfully, but these errors were encountered: