You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Yan Zhao (Jira)" <ji...@apache.org> on 2022/08/19 04:18: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 ]
Yan Zhao updated ZOOKEEPER-4607:
--------------------------------
Issue Type: Bug (was: Wish)
Priority: Trivial (was: Minor)
> 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
> Fix For: 3.9.0, 3.8.1
>
>
> 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)