You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2024/06/25 07:36:00 UTC

[jira] [Created] (IGNITE-22569) Ensure standardized error serialization in ClientSqlExecuteBatchRequest

Pavel Tupitsyn created IGNITE-22569:
---------------------------------------

             Summary: Ensure standardized error serialization in ClientSqlExecuteBatchRequest
                 Key: IGNITE-22569
                 URL: https://issues.apache.org/jira/browse/IGNITE-22569
             Project: Ignite
          Issue Type: Improvement
          Components: sql
    Affects Versions: 3.0.0-beta1
            Reporter: Pavel Tupitsyn
            Assignee: Pavel Tupitsyn
             Fix For: 3.0.0-beta2


*ClientSqlExecuteBatchRequest* uses custom error serialization. We can't rely on the top-level handler in [ClientInboundMessageHandler|https://github.com/apache/ignite-3/blob/d3ab33124127dd18f36727148100d632fffbd02e/modules/client-handler/src/main/java/org/apache/ignite/client/handler/ClientInboundMessageHandler.java#L498] 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)