[ 
https://issues.apache.org/jira/browse/IGNITE-14754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17348693#comment-17348693
 ] 

Alexander Lapin commented on IGNITE-14754:
------------------------------------------

[~agura] LGTM

> 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
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to