Disable concurrent search for filter duplicates in significant_text#20857
Conversation
PR Reviewer Guide 🔍(Review updated until commit 400dcbb)Here are some key observations to aid the review process:
|
39b62ab to
cca1a3b
Compare
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
@msfroh If you don't mind I'd appreciate a look to see if this seems correct |
|
Persistent review updated to latest commit cca1a3b |
|
❌ Gradle check result for cca1a3b: 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? |
|
❌ Gradle check result for cca1a3b: 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? |
|
❌ Gradle check result for cca1a3b: 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? |
|
❌ Gradle check result for cca1a3b: 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? |
|
❌ Gradle check result for cca1a3b: 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? |
|
❌ Gradle check result for cca1a3b: 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? |
|
❌ Gradle check result for cca1a3b: 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? |
The underlying structured used to find duplicate byte sequences (DuplicateByteSequenceSpotter) is stateful and not thread-safe, so disable concurrent search if this particular feature is being used. Signed-off-by: Andrew Ross <andrross@amazon.com>
cca1a3b to
400dcbb
Compare
|
Persistent review updated to latest commit 400dcbb |
|
❕ Gradle check result for 400dcbb: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
|
We can explore supporting |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #20857 +/- ##
============================================
- Coverage 73.32% 73.28% -0.05%
- Complexity 72272 72318 +46
============================================
Files 5797 5802 +5
Lines 330323 330405 +82
Branches 47676 47686 +10
============================================
- Hits 242215 242123 -92
- Misses 68663 68903 +240
+ Partials 19445 19379 -66 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| @Override | ||
| protected boolean supportsConcurrentSegmentSearch() { | ||
| return true; | ||
| // The underlying structured used to find duplicate byte sequences (DuplicateByteSequenceSpotter) |
There was a problem hiding this comment.
it is unclear why DuplicateByteSequenceSpotter needs to be threadsafe for inter-segment concurrent search. I see it being created at per leaf (or segment) and owning ord combination here
…pensearch-project#20857) The underlying structured used to find duplicate byte sequences (DuplicateByteSequenceSpotter) is stateful and not thread-safe, so disable concurrent search if this particular feature is being used. Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: Aparajita Pandey <aparajita31pandey@gmail.com>
…pensearch-project#20857) The underlying structured used to find duplicate byte sequences (DuplicateByteSequenceSpotter) is stateful and not thread-safe, so disable concurrent search if this particular feature is being used. Signed-off-by: Andrew Ross <andrross@amazon.com>
The underlying structured used to find duplicate byte sequences (DuplicateByteSequenceSpotter) is stateful and not thread-safe, so disable concurrent search if this particular feature is being used.
Related Issues
Part of #14408, specifically
{yaml=search.aggregation/90_sig_text/Dedup noise}Check List
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.