Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Refactor Grok validate pattern to iterative approach #14693

Merged
merged 1 commit into from
Jul 10, 2024

Commits on Jul 9, 2024

  1. Refactor Grok validate pattern to iterative approach (#14206)

    * 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>
    github-actions[bot] committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    3c783e1 View commit details
    Browse the repository at this point in the history