[Backport 2.x] Refactor Grok validate pattern to iterative approach#14693
[Backport 2.x] Refactor Grok validate pattern to iterative approach#14693
Conversation
* grok validate patterns recusrion to iterative Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * Add max depth in resolving a pattern to avoid OOM Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * change path from deque to arraylist Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * rename queue to stack Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * Change max depth to 500 Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * typo originPatternName fix Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * spotless Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> --------- Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> (cherry picked from commit 13f04d9) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
❌ Gradle check result for 3c783e1: 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 3c783e1: 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 3c783e1: TIMEOUT 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? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.x #14693 +/- ##
============================================
+ Coverage 71.42% 71.43% +0.01%
+ Complexity 62382 62354 -28
============================================
Files 5103 5103
Lines 293268 293294 +26
Branches 42730 42734 +4
============================================
+ Hits 209478 209529 +51
+ Misses 66236 66161 -75
- Partials 17554 17604 +50 ☔ View full report in Codecov by Sentry. |
…ect#14206) (opensearch-project#14693) * grok validate patterns recusrion to iterative * Add max depth in resolving a pattern to avoid OOM * change path from deque to arraylist * rename queue to stack * Change max depth to 500 * typo originPatternName fix * spotless --------- (cherry picked from commit 13f04d9) Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: kkewwei <kkewwei@163.com>
Backport 13f04d9 from #14206.