You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey N. Gura (Jira)" <ji...@apache.org> on 2021/05/20 17:12:00 UTC

[jira] [Updated] (IGNITE-14754) Improve assert in meta storage server Operation class: print byte array content instead of default toString.

     [ https://issues.apache.org/jira/browse/IGNITE-14754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey N. Gura updated IGNITE-14754:
------------------------------------
    Fix Version/s: 3.0.0-alpha2

> Improve assert in meta storage server Operation class: print byte array content instead of default toString.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-14754
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14754
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Andrey N. Gura
>            Assignee: Andrey N. Gura
>            Priority: Minor
>              Labels: iep-61, ignite-3
>             Fix For: 3.0.0-alpha2
>
>
> Constructor of the class {{org.apache.ignite.internal.metastorage.server.Operation}} contains  assertion that prints (in case of fail) key and value byte array using default {{toString()}} method. It isn't convenient. Printing of actual value (as hex string) could help in problem localization. Also the length of hex string should be limited (e.g. by 256 bytes) in order to avoid printing of massive blocks of data. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)