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.16] Create listener to refresh search thread resource usage (#14832) #14923

Merged

Commits on Jul 23, 2024

  1. Create listener to refresh search thread resource usage (opensearch-p…

    …roject#14832)
    
    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    
    * [bug fix] fix incorrect coordinator node search resource usages
    
    Signed-off-by: Chenyang Ji <cyji@amazon.com>
    
    * fix bug on serialization when passing task resource usage to coordinator
    
    Signed-off-by: Chenyang Ji <cyji@amazon.com>
    
    * add more unit tests
    
    Signed-off-by: Chenyang Ji <cyji@amazon.com>
    
    * remove query insights plugin related code
    
    Signed-off-by: Chenyang Ji <cyji@amazon.com>
    
    * create per request listener to refresh task resource usage
    
    Signed-off-by: Chenyang Ji <cyji@amazon.com>
    
    * Make new listener API public
    
    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    
    * Add changelog
    
    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    
    * Remove wrong files added
    
    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    
    * Address review comments
    
    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    
    * Build fix
    
    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    
    * Make singleton
    
    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    
    * Address review comments
    
    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    
    * Make sure listener runs before plugin listeners
    
    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    
    * Spotless
    
    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    
    * Minor fix
    
    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    
    ---------
    
    Signed-off-by: Chenyang Ji <cyji@amazon.com>
    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    Signed-off-by: Jay Deng <jayd0104@gmail.com>
    Co-authored-by: Chenyang Ji <cyji@amazon.com>
    Co-authored-by: Jay Deng <jayd0104@gmail.com>
    (cherry picked from commit 8ff3bcc)
    deshsidd committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    584772f View commit details
    Browse the repository at this point in the history
  2. Changelog update

    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    deshsidd committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    47628d9 View commit details
    Browse the repository at this point in the history
  3. fix changelog

    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    deshsidd committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    cfd529c View commit details
    Browse the repository at this point in the history
  4. fix changelog

    Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
    deshsidd committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    20b4370 View commit details
    Browse the repository at this point in the history