[jira] [Updated] (OAK-8832) Offline Compaction fails while erroneously accessing external blob

2020-05-22 Thread Marcel Reutegger (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Reutegger updated OAK-8832:
--
Fix Version/s: (was: 1.28.0)
   1.30.0

> Offline Compaction fails while erroneously accessing external blob 
> ---
>
> Key: OAK-8832
> URL: https://issues.apache.org/jira/browse/OAK-8832
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: segment-tar
>Affects Versions: 1.8.11, 1.22.0
>Reporter: Andrei Dulceanu
>Assignee: Andrei Dulceanu
>Priority: Critical
> Fix For: 1.8.22, 1.22.4, 1.30.0
>
> Attachments: OAK-8832-02.patch, OAK-8832-test.patch, OAK-8832.patch
>
>
> Relevant stack trace:
> {noformat}
> INFO  [2019-12-06 01:07:39,345] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK GC #0: compacting 
> root.
> java.lang.IllegalStateException: Attempt to read external blob with blobId 
> [95c88847bd388c05fc332e737dda714630c11351d1949ffd1a03b7b09b92d1ea#71399] 
> without specifying BlobStore
> INFO  [2019-12-06 01:07:39,753] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK closed: 
> /mnt/sandbox/tmp/1575594001228-0
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getBlob(SegmentBlob.java:248)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getLength(SegmentBlob.java:257)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.length(SegmentBlob.java:109)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.equals(SegmentBlob.java:185)
>   at com.google.common.base.Objects.equal(Objects.java:52)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.AbstractPropertyState.equal(AbstractPropertyState.java:59)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentPropertyState.equals(SegmentPropertyState.java:249)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:664)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:558)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:422)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:651)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$3.childNodeChanged(MapRecord.java:408)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$4.childNodeChanged(MapRecord.java:449)
>   at 
> 

[jira] [Updated] (OAK-8832) Offline Compaction fails while erroneously accessing external blob

2020-05-22 Thread Marcel Reutegger (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Reutegger updated OAK-8832:
--
Fix Version/s: (was: 0.1)

> Offline Compaction fails while erroneously accessing external blob 
> ---
>
> Key: OAK-8832
> URL: https://issues.apache.org/jira/browse/OAK-8832
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: segment-tar
>Affects Versions: 1.8.11, 1.22.0
>Reporter: Andrei Dulceanu
>Assignee: Andrei Dulceanu
>Priority: Critical
> Fix For: 1.28.0, 1.8.22, 1.22.4
>
> Attachments: OAK-8832-02.patch, OAK-8832-test.patch, OAK-8832.patch
>
>
> Relevant stack trace:
> {noformat}
> INFO  [2019-12-06 01:07:39,345] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK GC #0: compacting 
> root.
> java.lang.IllegalStateException: Attempt to read external blob with blobId 
> [95c88847bd388c05fc332e737dda714630c11351d1949ffd1a03b7b09b92d1ea#71399] 
> without specifying BlobStore
> INFO  [2019-12-06 01:07:39,753] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK closed: 
> /mnt/sandbox/tmp/1575594001228-0
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getBlob(SegmentBlob.java:248)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getLength(SegmentBlob.java:257)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.length(SegmentBlob.java:109)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.equals(SegmentBlob.java:185)
>   at com.google.common.base.Objects.equal(Objects.java:52)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.AbstractPropertyState.equal(AbstractPropertyState.java:59)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentPropertyState.equals(SegmentPropertyState.java:249)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:664)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:558)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:422)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:651)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$3.childNodeChanged(MapRecord.java:408)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$4.childNodeChanged(MapRecord.java:449)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:495)
>   

[jira] [Updated] (OAK-8832) Offline Compaction fails while erroneously accessing external blob

2020-05-07 Thread Andrei Dulceanu (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Dulceanu updated OAK-8832:
-
Fix Version/s: 1.10.9

> Offline Compaction fails while erroneously accessing external blob 
> ---
>
> Key: OAK-8832
> URL: https://issues.apache.org/jira/browse/OAK-8832
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: segment-tar
>Affects Versions: 1.8.11, 1.22.0
>Reporter: Andrei Dulceanu
>Assignee: Andrei Dulceanu
>Priority: Critical
> Fix For: 1.10.9, 1.28.0, 1.8.22, 1.22.4
>
> Attachments: OAK-8832-02.patch, OAK-8832-test.patch, OAK-8832.patch
>
>
> Relevant stack trace:
> {noformat}
> INFO  [2019-12-06 01:07:39,345] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK GC #0: compacting 
> root.
> java.lang.IllegalStateException: Attempt to read external blob with blobId 
> [95c88847bd388c05fc332e737dda714630c11351d1949ffd1a03b7b09b92d1ea#71399] 
> without specifying BlobStore
> INFO  [2019-12-06 01:07:39,753] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK closed: 
> /mnt/sandbox/tmp/1575594001228-0
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getBlob(SegmentBlob.java:248)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getLength(SegmentBlob.java:257)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.length(SegmentBlob.java:109)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.equals(SegmentBlob.java:185)
>   at com.google.common.base.Objects.equal(Objects.java:52)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.AbstractPropertyState.equal(AbstractPropertyState.java:59)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentPropertyState.equals(SegmentPropertyState.java:249)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:664)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:558)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:422)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:651)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$3.childNodeChanged(MapRecord.java:408)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$4.childNodeChanged(MapRecord.java:449)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:495)
> 

[jira] [Updated] (OAK-8832) Offline Compaction fails while erroneously accessing external blob

2020-04-28 Thread Andrei Dulceanu (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Dulceanu updated OAK-8832:
-
Fix Version/s: 1.22.4
   1.8.22

> Offline Compaction fails while erroneously accessing external blob 
> ---
>
> Key: OAK-8832
> URL: https://issues.apache.org/jira/browse/OAK-8832
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: segment-tar
>Affects Versions: 1.8.11, 1.22.0
>Reporter: Andrei Dulceanu
>Assignee: Andrei Dulceanu
>Priority: Critical
> Fix For: 1.28.0, 1.8.22, 1.22.4
>
> Attachments: OAK-8832-02.patch, OAK-8832-test.patch, OAK-8832.patch
>
>
> Relevant stack trace:
> {noformat}
> INFO  [2019-12-06 01:07:39,345] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK GC #0: compacting 
> root.
> java.lang.IllegalStateException: Attempt to read external blob with blobId 
> [95c88847bd388c05fc332e737dda714630c11351d1949ffd1a03b7b09b92d1ea#71399] 
> without specifying BlobStore
> INFO  [2019-12-06 01:07:39,753] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK closed: 
> /mnt/sandbox/tmp/1575594001228-0
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getBlob(SegmentBlob.java:248)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getLength(SegmentBlob.java:257)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.length(SegmentBlob.java:109)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.equals(SegmentBlob.java:185)
>   at com.google.common.base.Objects.equal(Objects.java:52)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.AbstractPropertyState.equal(AbstractPropertyState.java:59)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentPropertyState.equals(SegmentPropertyState.java:249)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:664)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:558)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:422)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:651)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$3.childNodeChanged(MapRecord.java:408)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$4.childNodeChanged(MapRecord.java:449)
>   at 
> 

[jira] [Updated] (OAK-8832) Offline Compaction fails while erroneously accessing external blob

2020-04-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8832:

Fix Version/s: 1.28.0

> Offline Compaction fails while erroneously accessing external blob 
> ---
>
> Key: OAK-8832
> URL: https://issues.apache.org/jira/browse/OAK-8832
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: segment-tar
>Affects Versions: 1.8.11, 1.22.0
>Reporter: Andrei Dulceanu
>Assignee: Andrei Dulceanu
>Priority: Critical
> Fix For: 1.28.0
>
> Attachments: OAK-8832-02.patch, OAK-8832-test.patch, OAK-8832.patch
>
>
> Relevant stack trace:
> {noformat}
> INFO  [2019-12-06 01:07:39,345] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK GC #0: compacting 
> root.
> java.lang.IllegalStateException: Attempt to read external blob with blobId 
> [95c88847bd388c05fc332e737dda714630c11351d1949ffd1a03b7b09b92d1ea#71399] 
> without specifying BlobStore
> INFO  [2019-12-06 01:07:39,753] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK closed: 
> /mnt/sandbox/tmp/1575594001228-0
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getBlob(SegmentBlob.java:248)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getLength(SegmentBlob.java:257)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.length(SegmentBlob.java:109)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.equals(SegmentBlob.java:185)
>   at com.google.common.base.Objects.equal(Objects.java:52)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.AbstractPropertyState.equal(AbstractPropertyState.java:59)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentPropertyState.equals(SegmentPropertyState.java:249)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:664)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:558)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:422)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:651)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$3.childNodeChanged(MapRecord.java:408)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$4.childNodeChanged(MapRecord.java:449)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:495)
>   at 
> 

[jira] [Updated] (OAK-8832) Offline Compaction fails while erroneously accessing external blob

2020-04-24 Thread Andrei Dulceanu (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Dulceanu updated OAK-8832:
-
Attachment: OAK-8832-02.patch

> Offline Compaction fails while erroneously accessing external blob 
> ---
>
> Key: OAK-8832
> URL: https://issues.apache.org/jira/browse/OAK-8832
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: segment-tar
>Affects Versions: 1.8.11, 1.22.0
>Reporter: Andrei Dulceanu
>Assignee: Andrei Dulceanu
>Priority: Critical
> Attachments: OAK-8832-02.patch, OAK-8832-test.patch, OAK-8832.patch
>
>
> Relevant stack trace:
> {noformat}
> INFO  [2019-12-06 01:07:39,345] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK GC #0: compacting 
> root.
> java.lang.IllegalStateException: Attempt to read external blob with blobId 
> [95c88847bd388c05fc332e737dda714630c11351d1949ffd1a03b7b09b92d1ea#71399] 
> without specifying BlobStore
> INFO  [2019-12-06 01:07:39,753] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK closed: 
> /mnt/sandbox/tmp/1575594001228-0
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getBlob(SegmentBlob.java:248)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getLength(SegmentBlob.java:257)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.length(SegmentBlob.java:109)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.equals(SegmentBlob.java:185)
>   at com.google.common.base.Objects.equal(Objects.java:52)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.AbstractPropertyState.equal(AbstractPropertyState.java:59)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentPropertyState.equals(SegmentPropertyState.java:249)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:664)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:558)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:422)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:651)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$3.childNodeChanged(MapRecord.java:408)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$4.childNodeChanged(MapRecord.java:449)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:495)
>   at 
> 

[jira] [Updated] (OAK-8832) Offline Compaction fails while erroneously accessing external blob

2020-04-24 Thread Andrei Dulceanu (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Dulceanu updated OAK-8832:
-
Affects Version/s: (was: 1.20.0)
   (was: 1.18.0)
   (was: 1.16.0)
   (was: 1.14.0)
   (was: 1.12.0)
   (was: 1.10.0)

> Offline Compaction fails while erroneously accessing external blob 
> ---
>
> Key: OAK-8832
> URL: https://issues.apache.org/jira/browse/OAK-8832
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: segment-tar
>Affects Versions: 1.8.11, 1.22.0
>Reporter: Andrei Dulceanu
>Assignee: Andrei Dulceanu
>Priority: Critical
> Attachments: OAK-8832-test.patch, OAK-8832.patch
>
>
> Relevant stack trace:
> {noformat}
> INFO  [2019-12-06 01:07:39,345] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK GC #0: compacting 
> root.
> java.lang.IllegalStateException: Attempt to read external blob with blobId 
> [95c88847bd388c05fc332e737dda714630c11351d1949ffd1a03b7b09b92d1ea#71399] 
> without specifying BlobStore
> INFO  [2019-12-06 01:07:39,753] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK closed: 
> /mnt/sandbox/tmp/1575594001228-0
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getBlob(SegmentBlob.java:248)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getLength(SegmentBlob.java:257)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.length(SegmentBlob.java:109)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.equals(SegmentBlob.java:185)
>   at com.google.common.base.Objects.equal(Objects.java:52)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.AbstractPropertyState.equal(AbstractPropertyState.java:59)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentPropertyState.equals(SegmentPropertyState.java:249)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:664)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:558)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:422)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:651)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$3.childNodeChanged(MapRecord.java:408)
>   at 
> 

[jira] [Updated] (OAK-8832) Offline Compaction fails while erroneously accessing external blob

2020-04-23 Thread Andrei Dulceanu (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Dulceanu updated OAK-8832:
-
Attachment: OAK-8832-test.patch

> Offline Compaction fails while erroneously accessing external blob 
> ---
>
> Key: OAK-8832
> URL: https://issues.apache.org/jira/browse/OAK-8832
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: segment-tar
>Affects Versions: 1.10.0, 1.12.0, 1.8.11, 1.14.0, 1.16.0, 1.18.0, 1.20.0, 
> 1.22.0
>Reporter: Andrei Dulceanu
>Assignee: Andrei Dulceanu
>Priority: Critical
> Attachments: OAK-8832-test.patch, OAK-8832.patch
>
>
> Relevant stack trace:
> {noformat}
> INFO  [2019-12-06 01:07:39,345] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK GC #0: compacting 
> root.
> java.lang.IllegalStateException: Attempt to read external blob with blobId 
> [95c88847bd388c05fc332e737dda714630c11351d1949ffd1a03b7b09b92d1ea#71399] 
> without specifying BlobStore
> INFO  [2019-12-06 01:07:39,753] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK closed: 
> /mnt/sandbox/tmp/1575594001228-0
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getBlob(SegmentBlob.java:248)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getLength(SegmentBlob.java:257)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.length(SegmentBlob.java:109)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.equals(SegmentBlob.java:185)
>   at com.google.common.base.Objects.equal(Objects.java:52)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.AbstractPropertyState.equal(AbstractPropertyState.java:59)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentPropertyState.equals(SegmentPropertyState.java:249)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:664)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:558)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:422)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:651)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$3.childNodeChanged(MapRecord.java:408)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$4.childNodeChanged(MapRecord.java:449)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:495)
>   at 
> 

[jira] [Updated] (OAK-8832) Offline Compaction fails while erroneously accessing external blob

2020-04-23 Thread Andrei Dulceanu (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Dulceanu updated OAK-8832:
-
Attachment: OAK-8832.patch

> Offline Compaction fails while erroneously accessing external blob 
> ---
>
> Key: OAK-8832
> URL: https://issues.apache.org/jira/browse/OAK-8832
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: segment-tar
>Affects Versions: 1.10.0, 1.12.0, 1.8.11, 1.14.0, 1.16.0, 1.18.0, 1.20.0, 
> 1.22.0
>Reporter: Andrei Dulceanu
>Assignee: Andrei Dulceanu
>Priority: Critical
> Attachments: OAK-8832.patch
>
>
> Relevant stack trace:
> {noformat}
> INFO  [2019-12-06 01:07:39,345] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK GC #0: compacting 
> root.
> java.lang.IllegalStateException: Attempt to read external blob with blobId 
> [95c88847bd388c05fc332e737dda714630c11351d1949ffd1a03b7b09b92d1ea#71399] 
> without specifying BlobStore
> INFO  [2019-12-06 01:07:39,753] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK closed: 
> /mnt/sandbox/tmp/1575594001228-0
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getBlob(SegmentBlob.java:248)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getLength(SegmentBlob.java:257)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.length(SegmentBlob.java:109)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.equals(SegmentBlob.java:185)
>   at com.google.common.base.Objects.equal(Objects.java:52)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.AbstractPropertyState.equal(AbstractPropertyState.java:59)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentPropertyState.equals(SegmentPropertyState.java:249)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:664)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:558)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:422)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:651)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$3.childNodeChanged(MapRecord.java:408)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$4.childNodeChanged(MapRecord.java:449)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:495)
>   at 
> 

[jira] [Updated] (OAK-8832) Offline Compaction fails while erroneously accessing external blob

2019-12-13 Thread Andrei Dulceanu (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Dulceanu updated OAK-8832:
-
Issue Type: Bug  (was: Improvement)

> Offline Compaction fails while erroneously accessing external blob 
> ---
>
> Key: OAK-8832
> URL: https://issues.apache.org/jira/browse/OAK-8832
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: segment-tar
>Affects Versions: 1.10.0, 1.12.0, 1.8.11, 1.14.0, 1.16.0, 1.18.0, 1.20.0, 
> 1.22.0
>Reporter: Andrei Dulceanu
>Assignee: Andrei Dulceanu
>Priority: Critical
>
> Relevant stack trace:
> {noformat}
> INFO  [2019-12-06 01:07:39,345] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK GC #0: compacting 
> root.
> java.lang.IllegalStateException: Attempt to read external blob with blobId 
> [95c88847bd388c05fc332e737dda714630c11351d1949ffd1a03b7b09b92d1ea#71399] 
> without specifying BlobStore
> INFO  [2019-12-06 01:07:39,753] 
> org.apache.jackrabbit.oak.segment.file.FileStore: TarMK closed: 
> /mnt/sandbox/tmp/1575594001228-0
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getBlob(SegmentBlob.java:248)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.getLength(SegmentBlob.java:257)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.length(SegmentBlob.java:109)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentBlob.equals(SegmentBlob.java:185)
>   at com.google.common.base.Objects.equal(Objects.java:52)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.AbstractPropertyState.equal(AbstractPropertyState.java:59)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentPropertyState.equals(SegmentPropertyState.java:249)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:664)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:558)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:422)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:651)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:598)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.diff(Compactor.java:165)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor.compact(Compactor.java:123)
>   at 
> org.apache.jackrabbit.oak.segment.Compactor$CompactDiff.childNodeChanged(Compactor.java:217)
>   at 
> org.apache.jackrabbit.oak.segment.CancelableDiff.childNodeChanged(CancelableDiff.java:85)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$3.childNodeChanged(MapRecord.java:408)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord$4.childNodeChanged(MapRecord.java:449)
>   at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:495)
>   at 
>