OpenSearch icon indicating copy to clipboard operation
OpenSearch copied to clipboard

Set INDICES_MAX_CLAUSE_COUNT dynamically

Open harshavamsi opened this issue 1 year ago • 5 comments

Description

Changes the INDICES_MAX_CLAUSE_COUNT_SETTING to be dynamic instead of being static.

This PR is virtually identical to #1527, but there was earlier push back around making this an updateable dynamic setting due to the assumption that users would abuse this setting rather than optimize their underlying query. Lucene has since updated the way the clause counts work and this is now enforced at the indexSearcher level -- https://issues.apache.org/jira/browse/LUCENE-8811.

More info can be found in #12549 around the motivation for this change, but I ended up raising a PR to make a simple dynamic setting.

Related Issues

Resolves #1526 #12549

Check List

  • [ ] New functionality includes testing.
    • [ ] All tests pass
  • [ ] New functionality has been documented.
    • [ ] New functionality has javadoc added
  • [ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
  • [ ] Commits are signed per the DCO using --signoff
  • [ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • [ ] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

harshavamsi avatar May 06 '24 22:05 harshavamsi

:x: Gradle check result for dd140e25399970cda85a193230135095191f3f63: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar May 06 '24 22:05 github-actions[bot]

:x: Gradle check result for 28d5525097634432bf864801947710c4ee92ab68: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar May 07 '24 00:05 github-actions[bot]

:x: Gradle check result for 6ccaa23ae69b20f2fb3fff7fec3863c5d012396a: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar May 07 '24 01:05 github-actions[bot]

:x: Gradle check result for 4ff1d13d6637f8ef907987834d70eafc94301dcb: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar May 07 '24 01:05 github-actions[bot]

:x: Gradle check result for 6321ca826c7aa3e9c72600bcf7153165b4dc2721: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar May 07 '24 01:05 github-actions[bot]

:x: Gradle check result for b11ca0b767cac17dfad4a95113a15ea7cb57bf65: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 05 '24 17:06 github-actions[bot]

:x: Gradle check result for a65ceccdf50787e3b44cd1cf558011df7e9d91ae: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 05 '24 17:06 github-actions[bot]

:x: Gradle check result for de6d547c3c53bbc553a722e9e4068244694b851e: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 05 '24 18:06 github-actions[bot]

:x: Gradle check result for 05f8d3029db2e836bb532fd368f8e375d7146446: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 05 '24 18:06 github-actions[bot]

:x: Gradle check result for 05f8d3029db2e836bb532fd368f8e375d7146446: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 05 '24 18:06 github-actions[bot]

:x: Gradle check result for 55496a4147198ab87a72c613363a545d4363f5b1: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 05 '24 18:06 github-actions[bot]

:x: Gradle check result for 15d3f96b3862a08d8bb422b0ac40de2a4dec555c: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 05 '24 19:06 github-actions[bot]

@msfroh @reta @dblock could you take a look?

harshavamsi avatar Jun 05 '24 23:06 harshavamsi

:x: Gradle check result for 75331e8b52ac820fa2a97f79b00450f1685d4d05: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 06 '24 00:06 github-actions[bot]

❌ Gradle check result for 75331e8: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

https://github.com/opensearch-project/OpenSearch/issues/13600

harshavamsi avatar Jun 06 '24 00:06 harshavamsi

:x: Gradle check result for a265a2e8502c7f349d380151912a0bfcf79fb04b: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 06 '24 19:06 github-actions[bot]

:x: Gradle check result for 7ede1eb36073a4b57666db057ba0f2a1bdb52be5: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 06 '24 19:06 github-actions[bot]

:white_check_mark: Gradle check result for dd840faeef0feb7ccd5d8e8e5a693cfb9509ff71: SUCCESS

github-actions[bot] avatar Jun 06 '24 20:06 github-actions[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.66%. Comparing base (b15cb0c) to head (e715516). Report is 449 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #13568      +/-   ##
============================================
+ Coverage     71.42%   71.66%   +0.24%     
- Complexity    59978    62032    +2054     
============================================
  Files          4985     5117     +132     
  Lines        282275   291713    +9438     
  Branches      40946    42168    +1222     
============================================
+ Hits         201603   209045    +7442     
- Misses        63999    65378    +1379     
- Partials      16673    17290     +617     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jun 06 '24 20:06 codecov[bot]

:x: Gradle check result for e8a8f4d6bab16bddb558bd43eec467e749419941: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 13 '24 20:06 github-actions[bot]

2.15.0 has sailed away, targeting this change to 2.16.0

reta avatar Jun 13 '24 20:06 reta

:white_check_mark: Gradle check result for cd92a9bb76b2f526fbe9d44bba53302010974473: SUCCESS

github-actions[bot] avatar Jun 13 '24 21:06 github-actions[bot]

:x: Gradle check result for b221209b41064f6aa42ab8f058ac283de01b543f: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 13 '24 21:06 github-actions[bot]

:x: Gradle check result for e715516df73ec2d1c61fa08f6ecdddb647fbcdf9: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 13 '24 22:06 github-actions[bot]

Opened https://github.com/opensearch-project/documentation-website/pull/7391/files

harshavamsi avatar Jun 14 '24 16:06 harshavamsi

:x: Gradle check result for e715516df73ec2d1c61fa08f6ecdddb647fbcdf9: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Jun 17 '24 14:06 github-actions[bot]

❌ Gradle check result for e715516: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

https://github.com/opensearch-project/OpenSearch/issues/14300 https://github.com/opensearch-project/OpenSearch/issues/12651 @msfroh can we merge?

harshavamsi avatar Jun 17 '24 17:06 harshavamsi

:white_check_mark: Gradle check result for e715516df73ec2d1c61fa08f6ecdddb647fbcdf9: SUCCESS

github-actions[bot] avatar Jun 18 '24 18:06 github-actions[bot]