zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3332) TxnLogToolkit should print multi transactions readably
Date Sat, 13 Apr 2019 00:47:00 GMT

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

Hudson commented on ZOOKEEPER-3332:
-----------------------------------

SUCCESS: Integrated in Jenkins build Zookeeper-trunk-single-thread #308 (See [https://builds.apache.org/job/Zookeeper-trunk-single-thread/308/])
ZOOKEEPER-3332: TxnLogToolkit should print multi transactions readably (andor: rev 4b01c9374586423a96cc8ba1cdf707fe77880cf9)
* (edit) zookeeper-server/src/main/java/org/apache/zookeeper/server/TraceFormatter.java
* (edit) zookeeper-server/src/main/java/org/apache/zookeeper/server/LogFormatter.java
* (edit) zookeeper-server/src/main/java/org/apache/zookeeper/server/persistence/TxnLogToolkit.java


> TxnLogToolkit should print multi transactions readably
> ------------------------------------------------------
>
>                 Key: ZOOKEEPER-3332
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3332
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: Toshihiro Suzuki
>            Assignee: maoling
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently, LogFormatter shows multi transactions like the following and it's not readable:
> {code:java}
> 3/23/19 7:35:21 AM UTC session 0x3699141c4080020 cxid 0x21 zxid 0x1000002d9 multi v{s{1,#000292f726d73746f72652f5a4b524d5374617465526f6f742f524d5f5a4b5f46454e43494e475f4c4f434b000000010001f0005776f726c640006616e796f6e6500001c},s{5,#000312f726d73746f72652f5a4b524d5374617465526f6f742f414d524d546f6b656e5365637265744d616e61676572526f6f7400012a108ffffffe0fffffffdffffff92fffffff15128fffffff5ffffff9a731174ffffffa8ffffff86ffffffb40009},s{2,#000292f726d73746f72652f5a4b524d5374617465526f6f742f524d5f5a4b5f46454e43494e475f4c4f434b}}
> {code}
> Like delete and setData as the following, LogFormatter should print multi transactions
readably:
> {code:java}
> 3/22/19 7:20:48 AM UTC session 0x2699141c3f70022 cxid 0x885 zxid 0x1000002cc delete '/hbase-unsecure/region-in-transition/d6694b5f7ec2c45f6096fe373c8a34bc
> 3/22/19 7:20:50 AM UTC session 0x2699141c3f70024 cxid 0x47 zxid 0x1000002cd setData '/hbase-unsecure/region-in-transition/a9c6dac76ce74812196667ebc01dad51,#ffffffff0001a726567696f6e7365727665723a313630323035617afffffffa42ffffff94ffffffe81f5042554684123f53595354454d2e434154414c4f472c2c313535333233313233393533352e61396336646163373663653734383132313936363637656263303164616435312e18ffffffe9ffffffa8ffffff98ffffffa2ffffff9a2d2228a1c633132362d6e6f6465342e7371756164726f6e2d6c6162732e636f6d10ffffff947d18ffffffcffffffffbffffff96ffffffa2ffffff9a2d,2
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message