Uploaded image for project: 'infrautils'
  1. infrautils
  2. INFRAUTILS-8

JobCoordinator (ex-DataStoreJobCoordinator) job failures should indicate stack trace of original caller who submitted job

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Won't Do
    • (unspecified)
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    Description

      In order to better understand root causes of issues such as e.g. GENIUS-58 in the future, it would be useful if the JobCoordinator (ex-DataStoreJobCoordinator; about to be moved from genius to infrautils in https://git.opendaylight.org/gerrit/#/c/51431/) for job failures should indicate stack trace of original caller who submitted job.

      NB: https://bugs.opendaylight.org/show_bug.cgi?id=7917#c3

      "Adding appropriate info in the caller's mainWorker toString would help to identify the originator. However I think capturing the caller's stack trace would be too expensive in production although it could be done in a debug mode."

      I'm wondering how other Java frameworks deal with not loosing the stack of the original caller when working with async lambdas in Java .. there must be some.. "prior art" in this domain? Perhaps worth trying to learn a bit more about this through online research, before jumping into an implementation.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: