[
https://issues.apache.org/jira/browse/OAK-3665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15021956#comment-15021956
]
Alex Parvulescu edited comment on OAK-3665 at 11/23/15 11:07 AM:
-----------------------------------------------------------------
fixed with r1715759 & r1715760 & 1715763.
run with:
{code}
java -jar oak-run-*.jar tarmkdiff path/to/repository [--diff=R0..R1]
[--incremental] [--output=/path/to/output/file]
{code}
sample output:
{code}
rev
7583946d-1817-4716-a05c-660ee52ddce0.ff94..c238cd7d-87a0-4cca-aa14-80b75e8ab81d.fb3e
^ /oak:index
^ /oak:index/lucene
^ /oak:index/lucene/:data
- /oak:index/lucene/:data/_3729.cfs
+ /oak:index/lucene/:data/_372d.si
+ blobSize<LONG> = 1047552
+ jcr:lastModified<LONG> = 1447948037017
+ jcr:data<BINARIES>[1] = [252 bytes]
- /oak:index/lucene/:data/segments_37bv
+ /oak:index/lucene/:data/_372d.cfe
+ blobSize<LONG> = 1047552
+ jcr:lastModified<LONG> = 1447948037017
+ jcr:data<BINARIES>[1] = [224 bytes]
- /oak:index/lucene/:data/_3729.si
- /oak:index/lucene/:data/_3729.cfe
+ /oak:index/lucene/:data/_372d.cfs
+ blobSize<LONG> = 1047552
+ jcr:lastModified<LONG> = 1447948037017
+ jcr:data<BINARIES>[1] = [907 bytes]
+ /oak:index/lucene/:data/segments_37bz
+ blobSize<LONG> = 1047552
+ jcr:lastModified<LONG> = 1447948045167
+ jcr:data<BINARIES>[1] = [863 bytes]
^ /oak:index/lucene/:data/segments.gen
^ jcr:lastModified
- jcr:lastModified<LONG> = 1447947918027
+ jcr:lastModified<LONG> = 1447948045167
^ jcr:data
- jcr:data<BINARIES>[1] = [20 bytes]
+ jcr:data<BINARIES>[1] = [20 bytes]
^ /oak:index/lucene/:status
^ lastUpdated
- lastUpdated<DATE> = 2015-11-19T10:45:18.027-05:00
+ lastUpdated<DATE> = 2015-11-19T10:47:25.167-05:00
{code}
was (Author: alex.parvulescu):
fixed with r1715759 & r1715760.
run with:
{code}
java -jar oak-run-*.jar tarmkdiff path/to/repository [--diff=R0..R1]
[--incremental] [--output=/path/to/output/file]
{code}
sample output:
{code}
rev
7583946d-1817-4716-a05c-660ee52ddce0.ff94..c238cd7d-87a0-4cca-aa14-80b75e8ab81d.fb3e
^ /oak:index
^ /oak:index/lucene
^ /oak:index/lucene/:data
- /oak:index/lucene/:data/_3729.cfs
+ /oak:index/lucene/:data/_372d.si
+ blobSize<LONG> = 1047552
+ jcr:lastModified<LONG> = 1447948037017
+ jcr:data<BINARIES>[1] = [252 bytes]
- /oak:index/lucene/:data/segments_37bv
+ /oak:index/lucene/:data/_372d.cfe
+ blobSize<LONG> = 1047552
+ jcr:lastModified<LONG> = 1447948037017
+ jcr:data<BINARIES>[1] = [224 bytes]
- /oak:index/lucene/:data/_3729.si
- /oak:index/lucene/:data/_3729.cfe
+ /oak:index/lucene/:data/_372d.cfs
+ blobSize<LONG> = 1047552
+ jcr:lastModified<LONG> = 1447948037017
+ jcr:data<BINARIES>[1] = [907 bytes]
+ /oak:index/lucene/:data/segments_37bz
+ blobSize<LONG> = 1047552
+ jcr:lastModified<LONG> = 1447948045167
+ jcr:data<BINARIES>[1] = [863 bytes]
^ /oak:index/lucene/:data/segments.gen
^ jcr:lastModified
- jcr:lastModified<LONG> = 1447947918027
+ jcr:lastModified<LONG> = 1447948045167
^ jcr:data
- jcr:data<BINARIES>[1] = [20 bytes]
+ jcr:data<BINARIES>[1] = [20 bytes]
^ /oak:index/lucene/:status
^ lastUpdated
- lastUpdated<DATE> = 2015-11-19T10:45:18.027-05:00
+ lastUpdated<DATE> = 2015-11-19T10:47:25.167-05:00
{code}
> Oak Run TarMK revision diff
> ---------------------------
>
> Key: OAK-3665
> URL: https://issues.apache.org/jira/browse/OAK-3665
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: run, segmentmk
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Fix For: 1.3.11
>
>
> I'd like to add support for generating diffs between 2 given revisions,
> either direct or incrementally (one by one between the 2 given limits).
> Oak Explorer already has partial support for this, this issue is for the
> oak-run support to generate a log with the diff output.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)