Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13564

Improve SYSTEM_WORKER_BLOCKED reporting.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.9, 2.8.1
    • None
    • None
    • None
    • Docs Required, Release Notes Required

    Description

      Currently, reporting of system thread blocking has major drawbacks.

      1. As system worker blocking is detected by another thread, due to implementation, failure handler receives not full information about problem. In FailureContext we have only two fields – type and err. Throwable err is generated in thread-detector flow, so we lost a context of main problem.
      2. Currently, due to implementation, we print not full stacktrace of blocking thread in org.apache.ignite.internal.worker.WorkersRegistry#onIdle.

      This two drawbacks can lead to completely loss of information about blocking system thread.

      I suggests:
      1. Add another parameter in FailureContext, namely worker
      2. Fix threaddump printing.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ivandasch Ivan Daschinsky
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h