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

Xu Cang commented on HBASE-22762:
---------------------------------

 

This is new version:

 

5353 2019-07-30 17:07:33,779 INFO [RS:0;xcang-ltm:65524-splits-1564531627716] 
regionserver.SplitRequest(143): Split transaction journal:
5354 STARTED at 1564531651882PREPARED at 1564531651884 ( +2 ms)
5355 BEFORE_PRE_SPLIT_HOOK at 1564531651884
5356 AFTER_PRE_SPLIT_HOOK at 1564531651884
5357 SET_SPLITTING at 1564531651885 ( +1 ms)
5358 CREATE_SPLIT_DIR at 1564531651993 ( +108 ms)
5359 CLOSED_PARENT_REGION at 1564531651999 ( +6 ms)
5360 OFFLINED_PARENT at 1564531651999
5361 STARTED_REGION_A_CREATION at 1564531652820 ( +821 ms)
5362 STARTED_REGION_B_CREATION at 1564531653234 ( +414 ms)
5363 PONR at 1564531653643 ( +409 ms)
5364 OPENED_REGION_A at 1564531653665 ( +22 ms)
5365 OPENED_REGION_B at 1564531653665
5366 BEFORE_POST_SPLIT_HOOK at 1564531653777 ( +112 ms)
5367 AFTER_POST_SPLIT_HOOK at 1564531653777
5368 COMPLETED at 1564531653777

 

 

I misunderstood the timestamp, thought it was start of the phase, but it is end 
of the phase.

> Print the delta between phases in the split/merge/compact/flush transaction 
> journals
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-22762
>                 URL: https://issues.apache.org/jira/browse/HBASE-22762
>             Project: HBase
>          Issue Type: Improvement
>          Components: logging
>            Reporter: Andrew Purtell
>            Assignee: Xu Cang
>            Priority: Minor
>         Attachments: HBASE-22762.branch-1.001.patch, 
> HBASE-22762.branch-1.002.patch
>
>
> We print the start timestamp for each phase when logging the 
> split/merge/compact/flush transaction journals and so when debugging an 
> operator must do the math by hand. It would be trivial to also print the 
> delta from the start timestamp of the previous phase and helpful to do so.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to