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] Bug/sbp cancellation #14502

Merged

Commits on Jun 21, 2024

  1. Bug/sbp cancellation (opensearch-project#13474)

    * change cancellation logic to fix disparity bw trackers and resource duress
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add additional tests for searchBackpressureService and refactor code
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add enumMap instead of list for tracking taskResourceUsageTrackets
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add nodeNotInDuress test for nodeDuressTrackers class
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * address comments
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add entry in CHANGELOG
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * address comments
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * address comments
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * remove wildcard import
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * streamline imports
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * address comments
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add additional test case to test the circuit breaker for SBP logic
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add missing javadoc to resourece type enum
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add javadoc to a method
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * fix javadoc warnings
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * fix javadoc warnings
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    ---------
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    (cherry picked from commit bcccedb)
    Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    405db06 View commit details
    Browse the repository at this point in the history
  2. Bug/sbp cancellation (opensearch-project#13474)

    * change cancellation logic to fix disparity bw trackers and resource duress
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add additional tests for searchBackpressureService and refactor code
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add enumMap instead of list for tracking taskResourceUsageTrackets
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add nodeNotInDuress test for nodeDuressTrackers class
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * address comments
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add entry in CHANGELOG
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * address comments
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * address comments
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * remove wildcard import
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * streamline imports
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * address comments
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add additional test case to test the circuit breaker for SBP logic
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add missing javadoc to resourece type enum
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * add javadoc to a method
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * fix javadoc warnings
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    * fix javadoc warnings
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    
    ---------
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    kaushalmahi12 committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    06f05d9 View commit details
    Browse the repository at this point in the history
  3. fix compilation error

    Signed-off-by: Kaushal Kumar <[email protected]>
    kaushalmahi12 committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    dff83cd View commit details
    Browse the repository at this point in the history
  4. Merge branch 'backport/backport-13474-to-2.x' into backport/backport-…

    …13474-to-2.x
    
    Signed-off-by: Kaushal Kumar <[email protected]>
    kaushalmahi12 authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    452ecf0 View commit details
    Browse the repository at this point in the history