Yan Zhao created ZOOKEEPER-4607:
-----------------------------------

             Summary: TxnLogToolkit decode multi tnx problem
                 Key: ZOOKEEPER-4607
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4607
             Project: ZooKeeper
          Issue Type: Wish
          Components: server
    Affects Versions: 3.7.1, 3.8.0, 3.6.2, 3.6.1, 3.7.0, 3.6.3, 3.6.0, 3.6.4, 
3.7.2
            Reporter: Yan Zhao
             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)

Reply via email to