jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-3749) Implement tooling for tracing a node through the revision history
Date Tue, 08 Dec 2015 14:41:10 GMT

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

Michael Dürig commented on OAK-3749:
------------------------------------

Initial implementation at http://svn.apache.org/viewvc?rev=1718621&view=rev:

{noformat}
Trace the history of a node backward through the revision history.

    $ java -jar oak-run-*.jar history [File] <options>

    [File] -- Path to segment store (required)

    Option             Description
    ------             -----------
    --depth <Integer>  Depth up to which to dump node states
                         (default: 0)
    --journal          journal file (default: journal.log)
    --path             Path for which to trace the history
                         (default: /)
{noformat}

Example output for {{--path=/checkpoints --depth=1}}

{noformat}
032ab21d-c251-446a-a4f1-6ac8c4202232:255856={"6a112d4a-dc34-48c1-bd09-b4449d25011f":{"timestamp":1535899665467,"created":1449499665467,"root":{},"properties":{}}}
64388a92-8bb1-4357-abbc-248eea8d9f94:261748={"f785bc36-c6d5-4289-8752-e2baebaae841":{"timestamp":1535899650467,"created":1449499650467,"root":{},"properties":{}}}
d1b51db1-47f8-4b57-a61e-d23276c35da3:239520={"f785bc36-c6d5-4289-8752-e2baebaae841":{"timestamp":1535899650467,"created":1449499650467,"root":{},"properties":{}}}
fed5b2f4-f2ed-40fb-a831-4c5cc9cf623e:106976={"363c1ea8-e323-4378-92a6-556157c22c2f":{"timestamp":1535899605467,"created":1449499605467,"root":{},"properties":{}}}
21fce4d6-f553-48a7-a9ac-f46443630c54:215044={"363c1ea8-e323-4378-92a6-556157c22c2f":{"timestamp":1535899605467,"created":1449499605467,"root":{},"properties":{}}}
c7344512-bcd3-4386-a45b-0523a4b84c3d:261648={"363c1ea8-e323-4378-92a6-556157c22c2f":{"timestamp":1535899605467,"created":1449499605467,"root":{},"properties":{}}}
0c11d047-2f8d-457b-a209-534f946759d5:256216={}
{noformat}

> Implement tooling for tracing a node through the revision history
> -----------------------------------------------------------------
>
>                 Key: OAK-3749
>                 URL: https://issues.apache.org/jira/browse/OAK-3749
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: run, segmentmk
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: tooling
>
> To diagnose certain issues with gc / checkpoints / indexing we need a tool to trace the
evolution of a given node through the revision history. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message