You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/10/13 11:58:00 UTC

[jira] [Updated] (ZOOKEEPER-4607) TxnLogToolkit decode multi tnx problem

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

ASF GitHub Bot updated ZOOKEEPER-4607:
--------------------------------------
    Labels: pull-request-available  (was: )

> TxnLogToolkit decode multi tnx problem
> --------------------------------------
>
>                 Key: ZOOKEEPER-4607
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4607
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.6.0, 3.6.3, 3.7.0, 3.6.1, 3.6.2, 3.8.0, 3.7.1, 3.6.4, 3.7.2
>            Reporter: Yan Zhao
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 3.9.0, 3.8.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> If there is a -101 error in the multi txn, the error status is \{-1, -1, -1, -101}.
> Now it use toString to decode, it will decode it to unknown character.
> {code:java}
> return new String(data, StandardCharsets.UTF_8);{code}
>  
> The output:
> {code:java}
> session 0x1000017f0b701dc cxid 0x1 zxid 0x3208 multi error:����;error:����;error:����{code}
>  



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