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

Ensure standardized error serialization in ClientSqlExecuteBatchRequest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.0.0-beta1
    • 3.0
    • sql
    • Docs Required, Release Notes Required

    Description

      ClientSqlExecuteBatchRequest uses custom error serialization. We can't rely on the top-level handler in ClientInboundMessageHandler because we need to send update counter even in case of an error.

      • Stack trace is missing when SendServerExceptionStackTraceToClient is true
      • The code is duplicated

      Reuse the code and ensure consistent error serialization.

      We should use ErrorExtensions mechanism to transfer additional information for specific exception types.

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Igor Sapego Igor Sapego
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: