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

Support task resource tracking in OpenSearch #2639

Merged

Commits on Apr 14, 2022

  1. Add Task id in Thread Context

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    Tushar Kharbanda authored and tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    66e1aee View commit details
    Browse the repository at this point in the history
  2. Add resource tracking update support for tasks

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    Tushar Kharbanda authored and tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    84cc493 View commit details
    Browse the repository at this point in the history
  3. List tasks action support for task resource refresh

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    Tushar Kharbanda authored and tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    a01aac2 View commit details
    Browse the repository at this point in the history
  4. Handle task unregistration case on same thread

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    36d2de1 View commit details
    Browse the repository at this point in the history
  5. Add lazy initialisation for RunnableTaskExecutionListener

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    be7cb83 View commit details
    Browse the repository at this point in the history
  6. Segregate resource tracking logic to a separate service.

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    f61ef7d View commit details
    Browse the repository at this point in the history
  7. Check for running threads during task unregister

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    7058bd7 View commit details
    Browse the repository at this point in the history
  8. Moved thread context logic to resource tracking service

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    aa35b82 View commit details
    Browse the repository at this point in the history
  9. preserve task id in thread context even after stash

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    23d639b View commit details
    Browse the repository at this point in the history
  10. Add null check for resource tracking service

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    930edae View commit details
    Browse the repository at this point in the history
  11. Tracking service tests and minor refactoring

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    f68e91d View commit details
    Browse the repository at this point in the history
  12. Preserve task id fix with test

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    e788dfd View commit details
    Browse the repository at this point in the history
  13. Minor test changes and Task tracking call update

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    39dfc22 View commit details
    Browse the repository at this point in the history
  14. Fix Auto Queue executor method's signature

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    4b26d2d View commit details
    Browse the repository at this point in the history
  15. Make task runnable task listener factory implement consumer

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    c76ce40 View commit details
    Browse the repository at this point in the history
  16. Use reflection for ThreadMXBean

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    6915d17 View commit details
    Browse the repository at this point in the history
  17. Formatting

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    576a477 View commit details
    Browse the repository at this point in the history
  18. Replace RunnableTaskExecutionListenerFactory with AtomicReference

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    046c652 View commit details
    Browse the repository at this point in the history
  19. Revert "Use reflection for ThreadMXBean"

    This reverts commit cbcf3c525bf516fb7164f0221491a7b25c1f96ec.
    
    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    f135cf1 View commit details
    Browse the repository at this point in the history
  20. Suppress Warning related to ThreadMXBean

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    dea288b View commit details
    Browse the repository at this point in the history
  21. Add separate method for task resource tracking supported check

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    167086a View commit details
    Browse the repository at this point in the history
  22. Enabled setting by default

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    ff4a9eb View commit details
    Browse the repository at this point in the history
  23. Add debug logs for stale context id

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    3df4d63 View commit details
    Browse the repository at this point in the history
  24. Remove hardcoded task overhead in tests

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    5dcd53e View commit details
    Browse the repository at this point in the history
  25. Bump stale task id in thread context log level to warn

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    9bd32cf View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Improve assertions and logging

    Signed-off-by: Tushar Kharbanda <tushar.kharbanda72@gmail.com>
    tushar-kharbanda72 committed Apr 19, 2022
    Configuration menu
    Copy the full SHA
    0c301e1 View commit details
    Browse the repository at this point in the history