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

.NET: Improve remote error propagation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.1
    • platforms

    Description

      When we rethrow remote exceptions, we should wrap them in another exception to preserve remote stack traces.

      For example, ComputeAbstractClosureTask.OnResult uses throw err, where err is a deserialized remote exception. This call causes remote stack trace loss.

      Instead we should do throw new IgniteException("Remote computation failed", err) which will preserve remote stack trace.

      Same should be done for other remote invocation scenarios (event listeners and so on).

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: