[jira] [Created] (OAK-7319) Remove redundant JavaDoc link to Java 7 API
Julian Reschke created OAK-7319: --- Summary: Remove redundant JavaDoc link to Java 7 API Key: OAK-7319 URL: https://issues.apache.org/jira/browse/OAK-7319 Project: Jackrabbit Oak Issue Type: Task Components: parent Affects Versions: 1.8.0, 1.8.3 Reporter: Marcel Reutegger Assignee: Marcel Reutegger Fix For: 1.9.0, 1.10 Oak trunk and 1.8 branch require Java 8 and their JavaDoc should therefore link to the corresponding Java version. It currently links to Java 7 JavaDoc. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-5506) reject item names with unpaired surrogates early
[ https://issues.apache.org/jira/browse/OAK-5506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389774#comment-16389774 ] Michael Dürig commented on OAK-5506: [~reschke], I just noticed that we are also using {{java.nio.charset.Charset#decode}} and {{java.nio.charset.Charset#encode}} in various places. Not sure if this is covered with your patches. > reject item names with unpaired surrogates early > > > Key: OAK-5506 > URL: https://issues.apache.org/jira/browse/OAK-5506 > Project: Jackrabbit Oak > Issue Type: Wish > Components: core, jcr, segment-tar >Affects Versions: 1.5.18 >Reporter: Julian Reschke >Priority: Minor > Labels: resilience > Fix For: 1.10 > > Attachments: OAK-5506-01.patch, OAK-5506-02.patch, OAK-5506-4.diff, > OAK-5506-bench.diff, OAK-5506-jcr-level.diff, OAK-5506-name-conversion.diff, > OAK-5506-segment.diff, OAK-5506-segment2.diff, OAK-5506-segment3.diff, > OAK-5506.diff, ValidNamesTest.java > > > Apparently, the following node name is accepted: >{{"foo\ud800"}} > but a subsequent {{getPath()}} call fails: > {noformat} > javax.jcr.InvalidItemStateException: This item [/test_node/foo?] does not > exist anymore > at > org.apache.jackrabbit.oak.jcr.delegate.ItemDelegate.checkAlive(ItemDelegate.java:86) > at > org.apache.jackrabbit.oak.jcr.session.operation.ItemOperation.checkPreconditions(ItemOperation.java:34) > at > org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.prePerform(SessionDelegate.java:615) > at > org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:205) > at > org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:112) > at > org.apache.jackrabbit.oak.jcr.session.ItemImpl.getPath(ItemImpl.java:140) > at > org.apache.jackrabbit.oak.jcr.session.NodeImpl.getPath(NodeImpl.java:106) > at > org.apache.jackrabbit.oak.jcr.ValidNamesTest.nameTest(ValidNamesTest.java:271) > at > org.apache.jackrabbit.oak.jcr.ValidNamesTest.testUnpairedSurrogate(ValidNamesTest.java:259) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source){noformat} > (test case follows) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (OAK-7317) SegmentParser#parseBlob does not long ids of external blobs
[ https://issues.apache.org/jira/browse/OAK-7317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig resolved OAK-7317. Resolution: Fixed Fix Version/s: 1.10 1.9.0 Fixed at. http://svn.apache.org/viewvc?rev=1826132=rev > SegmentParser#parseBlob does not long ids of external blobs > --- > > Key: OAK-7317 > URL: https://issues.apache.org/jira/browse/OAK-7317 > Project: Jackrabbit Oak > Issue Type: Bug > Components: segment-tar >Reporter: Michael Dürig >Assignee: Michael Dürig >Priority: Major > Labels: technical_debt, tooling > Fix For: 1.9.0, 1.10 > > > Support for long ids of external blobs where introduces with OAK-3107. > {{SegmentParser.parseBlob()}} is still oblivious about them. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (OAK-7299) RDB*Store: update postgresql JDBC driver reference to 42.2.1
[ https://issues.apache.org/jira/browse/OAK-7299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16382164#comment-16382164 ] Julian Reschke edited comment on OAK-7299 at 3/7/18 4:06 PM: - trunk: [r1825654|http://svn.apache.org/r1825654] 1.8: [r1826128|http://svn.apache.org/r1826128] was (Author: reschke): trunk: [r1825654|http://svn.apache.org/r1825654] > RDB*Store: update postgresql JDBC driver reference to 42.2.1 > > > Key: OAK-7299 > URL: https://issues.apache.org/jira/browse/OAK-7299 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Minor > Labels: candidate_oak_1_6 > Fix For: 1.9.0, 1.10, 1.8.3 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7299) RDB*Store: update postgresql JDBC driver reference to 42.2.1
[ https://issues.apache.org/jira/browse/OAK-7299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7299: Fix Version/s: 1.8.3 > RDB*Store: update postgresql JDBC driver reference to 42.2.1 > > > Key: OAK-7299 > URL: https://issues.apache.org/jira/browse/OAK-7299 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Minor > Labels: candidate_oak_1_6 > Fix For: 1.9.0, 1.10, 1.8.3 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7299) RDB*Store: update postgresql JDBC driver reference to 42.2.1
[ https://issues.apache.org/jira/browse/OAK-7299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7299: Labels: candidate_oak_1_6 (was: candidate_oak_1_8) > RDB*Store: update postgresql JDBC driver reference to 42.2.1 > > > Key: OAK-7299 > URL: https://issues.apache.org/jira/browse/OAK-7299 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Minor > Labels: candidate_oak_1_6 > Fix For: 1.9.0, 1.10, 1.8.3 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7317) SegmentParser#parseBlob does not long ids of external blobs
[ https://issues.apache.org/jira/browse/OAK-7317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389733#comment-16389733 ] Michael Dürig commented on OAK-7317: Ignored test case at http://svn.apache.org/viewvc?rev=1826123=rev > SegmentParser#parseBlob does not long ids of external blobs > --- > > Key: OAK-7317 > URL: https://issues.apache.org/jira/browse/OAK-7317 > Project: Jackrabbit Oak > Issue Type: Bug > Components: segment-tar >Reporter: Michael Dürig >Assignee: Michael Dürig >Priority: Major > Labels: technical_debt, tooling > > Support for long ids of external blobs where introduces with OAK-3107. > {{SegmentParser.parseBlob()}} is still oblivious about them. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Assigned] (OAK-7317) SegmentParser#parseBlob does not long ids of external blobs
[ https://issues.apache.org/jira/browse/OAK-7317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig reassigned OAK-7317: -- Assignee: Michael Dürig > SegmentParser#parseBlob does not long ids of external blobs > --- > > Key: OAK-7317 > URL: https://issues.apache.org/jira/browse/OAK-7317 > Project: Jackrabbit Oak > Issue Type: Bug > Components: segment-tar >Reporter: Michael Dürig >Assignee: Michael Dürig >Priority: Major > Labels: technical_debt, tooling > > Support for long ids of external blobs where introduces with OAK-3107. > {{SegmentParser.parseBlob()}} is still oblivious about them. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (OAK-7318) Add documentation for function indexes
Tom Blackford created OAK-7318: -- Summary: Add documentation for function indexes Key: OAK-7318 URL: https://issues.apache.org/jira/browse/OAK-7318 Project: Jackrabbit Oak Issue Type: Documentation Components: core, lucene, query Reporter: Tom Blackford It looks like we might need to add documentation for the function index added in OAK-3574 at [https://jackrabbit.apache.org/oak/docs/query/lucene.html.] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7317) SegmentParser#parseBlob does not long ids of external blobs
[ https://issues.apache.org/jira/browse/OAK-7317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig updated OAK-7317: --- Labels: technical_debt tooling (was: technical_debt) > SegmentParser#parseBlob does not long ids of external blobs > --- > > Key: OAK-7317 > URL: https://issues.apache.org/jira/browse/OAK-7317 > Project: Jackrabbit Oak > Issue Type: Bug > Components: segment-tar >Reporter: Michael Dürig >Priority: Major > Labels: technical_debt, tooling > > Support for long ids of external blobs where introduces with OAK-3107. > {{SegmentParser.parseBlob()}} is still oblivious about them. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (OAK-7317) SegmentParser#parseBlob does not long ids of external blobs
Michael Dürig created OAK-7317: -- Summary: SegmentParser#parseBlob does not long ids of external blobs Key: OAK-7317 URL: https://issues.apache.org/jira/browse/OAK-7317 Project: Jackrabbit Oak Issue Type: Bug Components: segment-tar Reporter: Michael Dürig Support for long ids of external blobs where introduces with OAK-3107. {{SegmentParser.parseBlob()}} is still oblivious about them. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (OAK-7314) RDB*Store: use SDMAXREV column in RevisionGC query
[ https://issues.apache.org/jira/browse/OAK-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389533#comment-16389533 ] Julian Reschke edited comment on OAK-7314 at 3/7/18 2:34 PM: - trunk: [r1826096|http://svn.apache.org/r1826096] 1.8: [r1826110|http://svn.apache.org/r1826110] was (Author: reschke): trunk: [r1826096|http://svn.apache.org/r1826096] > RDB*Store: use SDMAXREV column in RevisionGC query > -- > > Key: OAK-7314 > URL: https://issues.apache.org/jira/browse/OAK-7314 > Project: Jackrabbit Oak > Issue Type: Task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Fix For: 1.9.0, 1.10, 1.8.3 > > Attachments: OAK-7314.diff > > > (oversight when working on OAK-6965, which introduced the column into the DB > schema, but neglected to actually use it in the query) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7314) RDB*Store: use SDMAXREV column in RevisionGC query
[ https://issues.apache.org/jira/browse/OAK-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7314: Fix Version/s: 1.8.3 > RDB*Store: use SDMAXREV column in RevisionGC query > -- > > Key: OAK-7314 > URL: https://issues.apache.org/jira/browse/OAK-7314 > Project: Jackrabbit Oak > Issue Type: Task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Fix For: 1.9.0, 1.10, 1.8.3 > > Attachments: OAK-7314.diff > > > (oversight when working on OAK-6965, which introduced the column into the DB > schema, but neglected to actually use it in the query) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7314) RDB*Store: use SDMAXREV column in RevisionGC query
[ https://issues.apache.org/jira/browse/OAK-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7314: Labels: (was: candidate_oak_1_8) > RDB*Store: use SDMAXREV column in RevisionGC query > -- > > Key: OAK-7314 > URL: https://issues.apache.org/jira/browse/OAK-7314 > Project: Jackrabbit Oak > Issue Type: Task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Fix For: 1.9.0, 1.10, 1.8.3 > > Attachments: OAK-7314.diff > > > (oversight when working on OAK-6965, which introduced the column into the DB > schema, but neglected to actually use it in the query) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7316) Greedy ClusterNodeInfo
[ https://issues.apache.org/jira/browse/OAK-7316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389617#comment-16389617 ] Marcel Reutegger commented on OAK-7316: --- Proposed changes are: * If there is no existing unused clusterId that matches the current working directory and MAC address, then: ** Use the lowest unused {{clusterId}} and update the {{instance}} (working directory), {{machine}} (MAC address) and {{info}} fields of the corresponding document in the {{clusterNodes}} collection to match the starting DocumentNodeStore ** Create a new {{clusterId}} when all existing ones are currently active > Greedy ClusterNodeInfo > -- > > Key: OAK-7316 > URL: https://issues.apache.org/jira/browse/OAK-7316 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: documentmk >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Major > Fix For: 1.10 > > > The {{ClusterNodeInfo}} is responsible for assigning a {{clusterId}} to a > DocumentNodeStore on startup. The current implementation uses the lowest MAC > address available on the system and the working directory as information to > reuse a previously assigned {{clusterId}}. This ensures a DocumentNodeStore > gets the same {{clusterId}} after a restart. > For static deployments this works fine, but become a problem when deployments > are more dynamic. Consider a cluster deployed on container infrastructure. > Scaling the application may mean cluster nodes are added or removed over time > and deployed on various types of machines depending on current load and > required resources. Over time more and more unused {{clusterIds}} would exist > and and bloat underlying documents in the DocumentStore. > This issue proposes a more greedy algorithm when a {{clusterId}} is assigned > to a DocumentNodeStore. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (OAK-7225) Replace AtomicCounter Supplier
[ https://issues.apache.org/jira/browse/OAK-7225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Davide Giannella resolved OAK-7225. --- Resolution: Fixed Fix Version/s: 1.10 1.9.0 in trunk: http://svn.apache.org/r1826098 > Replace AtomicCounter Supplier > -- > > Key: OAK-7225 > URL: https://issues.apache.org/jira/browse/OAK-7225 > Project: Jackrabbit Oak > Issue Type: Sub-task > Components: core >Affects Versions: 1.4.0, 1.6.0 >Reporter: Davide Giannella >Assignee: Davide Giannella >Priority: Major > Fix For: 1.9.0, 1.10 > > Attachments: OAK-7225-0.diff > > > In the > [AtomicCounter|https://github.com/apache/jackrabbit-oak/blob/7a7aa1e5d4f53f5bfb410f58264c237b288f5c74/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/atomic/AtomicCounterEditorProvider.java#L121] > we use guava's Supplier which should be trivially replaced by the JDK8 > [java.util.function.Supplier|https://docs.oracle.com/javase/8/docs/api/java/util/function/Supplier.html]. > In case of backports to Oak 1.4, and therefore Java7 it should be possible to > workaround the FunctionalInterface with a utility class. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (OAK-7311) Test failure: OSGiIT
[ https://issues.apache.org/jira/browse/OAK-7311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrei Dulceanu resolved OAK-7311. -- Resolution: Fixed Fixed at r1826091. > Test failure: OSGiIT > > > Key: OAK-7311 > URL: https://issues.apache.org/jira/browse/OAK-7311 > Project: Jackrabbit Oak > Issue Type: Bug > Components: continuous integration, it >Reporter: Hudson >Assignee: Andrei Dulceanu >Priority: Major > > No description is provided > The build Jackrabbit Oak #1285 has failed. > First failed run: [Jackrabbit Oak > #1285|https://builds.apache.org/job/Jackrabbit%20Oak/1285/] [console > log|https://builds.apache.org/job/Jackrabbit%20Oak/1285/console] > {noformat} > ERROR: Bundle org.apache.jackrabbit.oak-segment-tar [32] Error starting > file:/home/jenkins/jenkins-slave/workspace/Jackrabbit%20Oak/oak-it-osgi/target/test-bundles/oak-segment-tar.jar > (org.osgi.framework.BundleException: Unable to resolve > org.apache.jackrabbit.oak-segment-tar [32](R 32.0): missing requirement > [org.apache.jackrabbit.oak-segment-tar [32](R 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0))) > Unresolved requirements: [[org.apache.jackrabbit.oak-segment-tar [32](R > 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0)))]) > org.osgi.framework.BundleException: Unable to resolve > org.apache.jackrabbit.oak-segment-tar [32](R 32.0): missing requirement > [org.apache.jackrabbit.oak-segment-tar [32](R 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0))) > Unresolved requirements: [[org.apache.jackrabbit.oak-segment-tar [32](R > 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0)))] > at > org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4148) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2118) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372) > at > org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (OAK-7204) RDB*Store: update postgresql JDBC driver reference to 42.2.0
[ https://issues.apache.org/jira/browse/OAK-7204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16339406#comment-16339406 ] Julian Reschke edited comment on OAK-7204 at 3/7/18 1:19 PM: - trunk: [r1822207|http://svn.apache.org/r1822207] 1.8: [r1826097|http://svn.apache.org/r1826097] was (Author: reschke): trunk: [r1822207|http://svn.apache.org/r1822207] > RDB*Store: update postgresql JDBC driver reference to 42.2.0 > > > Key: OAK-7204 > URL: https://issues.apache.org/jira/browse/OAK-7204 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Minor > Labels: candidate_oak_1_6 > Fix For: 1.9.0, 1.10, 1.8.3 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7314) RDB*Store: use SDMAXREV column in RevisionGC query
[ https://issues.apache.org/jira/browse/OAK-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389533#comment-16389533 ] Julian Reschke commented on OAK-7314: - trunk: [r1826096|http://svn.apache.org/r1826096] > RDB*Store: use SDMAXREV column in RevisionGC query > -- > > Key: OAK-7314 > URL: https://issues.apache.org/jira/browse/OAK-7314 > Project: Jackrabbit Oak > Issue Type: Task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Labels: candidate_oak_1_8 > Fix For: 1.9.0, 1.10 > > Attachments: OAK-7314.diff > > > (oversight when working on OAK-6965, which introduced the column into the DB > schema, but neglected to actually use it in the query) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7204) RDB*Store: update postgresql JDBC driver reference to 42.2.0
[ https://issues.apache.org/jira/browse/OAK-7204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7204: Fix Version/s: 1.8.3 > RDB*Store: update postgresql JDBC driver reference to 42.2.0 > > > Key: OAK-7204 > URL: https://issues.apache.org/jira/browse/OAK-7204 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Minor > Labels: candidate_oak_1_6 > Fix For: 1.9.0, 1.10, 1.8.3 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7204) RDB*Store: update postgresql JDBC driver reference to 42.2.0
[ https://issues.apache.org/jira/browse/OAK-7204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7204: Labels: candidate_oak_1_6 (was: candidate_oak_1_8) > RDB*Store: update postgresql JDBC driver reference to 42.2.0 > > > Key: OAK-7204 > URL: https://issues.apache.org/jira/browse/OAK-7204 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Minor > Labels: candidate_oak_1_6 > Fix For: 1.9.0, 1.10, 1.8.3 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (OAK-7314) RDB*Store: use SDMAXREV column in RevisionGC query
[ https://issues.apache.org/jira/browse/OAK-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke resolved OAK-7314. - Resolution: Fixed Fix Version/s: 1.10 1.9.0 > RDB*Store: use SDMAXREV column in RevisionGC query > -- > > Key: OAK-7314 > URL: https://issues.apache.org/jira/browse/OAK-7314 > Project: Jackrabbit Oak > Issue Type: Task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Labels: candidate_oak_1_8 > Fix For: 1.9.0, 1.10 > > Attachments: OAK-7314.diff > > > (oversight when working on OAK-6965, which introduced the column into the DB > schema, but neglected to actually use it in the query) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7311) Test failure: OSGiIT
[ https://issues.apache.org/jira/browse/OAK-7311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389502#comment-16389502 ] Hudson commented on OAK-7311: - Previously failing build now is OK. Passed run: [Jackrabbit Oak #1291|https://builds.apache.org/job/Jackrabbit%20Oak/1291/] [console log|https://builds.apache.org/job/Jackrabbit%20Oak/1291/console] > Test failure: OSGiIT > > > Key: OAK-7311 > URL: https://issues.apache.org/jira/browse/OAK-7311 > Project: Jackrabbit Oak > Issue Type: Bug > Components: continuous integration, it >Reporter: Hudson >Assignee: Andrei Dulceanu >Priority: Major > > No description is provided > The build Jackrabbit Oak #1285 has failed. > First failed run: [Jackrabbit Oak > #1285|https://builds.apache.org/job/Jackrabbit%20Oak/1285/] [console > log|https://builds.apache.org/job/Jackrabbit%20Oak/1285/console] > {noformat} > ERROR: Bundle org.apache.jackrabbit.oak-segment-tar [32] Error starting > file:/home/jenkins/jenkins-slave/workspace/Jackrabbit%20Oak/oak-it-osgi/target/test-bundles/oak-segment-tar.jar > (org.osgi.framework.BundleException: Unable to resolve > org.apache.jackrabbit.oak-segment-tar [32](R 32.0): missing requirement > [org.apache.jackrabbit.oak-segment-tar [32](R 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0))) > Unresolved requirements: [[org.apache.jackrabbit.oak-segment-tar [32](R > 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0)))]) > org.osgi.framework.BundleException: Unable to resolve > org.apache.jackrabbit.oak-segment-tar [32](R 32.0): missing requirement > [org.apache.jackrabbit.oak-segment-tar [32](R 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0))) > Unresolved requirements: [[org.apache.jackrabbit.oak-segment-tar [32](R > 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0)))] > at > org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4148) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2118) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372) > at > org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (OAK-7316) Greedy ClusterNodeInfo
Marcel Reutegger created OAK-7316: - Summary: Greedy ClusterNodeInfo Key: OAK-7316 URL: https://issues.apache.org/jira/browse/OAK-7316 Project: Jackrabbit Oak Issue Type: Improvement Components: documentmk Reporter: Marcel Reutegger Assignee: Marcel Reutegger Fix For: 1.10 The {{ClusterNodeInfo}} is responsible for assigning a {{clusterId}} to a DocumentNodeStore on startup. The current implementation uses the lowest MAC address available on the system and the working directory as information to reuse a previously assigned {{clusterId}}. This ensures a DocumentNodeStore gets the same {{clusterId}} after a restart. For static deployments this works fine, but become a problem when deployments are more dynamic. Consider a cluster deployed on container infrastructure. Scaling the application may mean cluster nodes are added or removed over time and deployed on various types of machines depending on current load and required resources. Over time more and more unused {{clusterIds}} would exist and and bloat underlying documents in the DocumentStore. This issue proposes a more greedy algorithm when a {{clusterId}} is assigned to a DocumentNodeStore. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7311) Test failure: OSGiIT
[ https://issues.apache.org/jira/browse/OAK-7311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389415#comment-16389415 ] Hudson commented on OAK-7311: - Build is still failing. Failed run: [Jackrabbit Oak #1290|https://builds.apache.org/job/Jackrabbit%20Oak/1290/] [console log|https://builds.apache.org/job/Jackrabbit%20Oak/1290/console] > Test failure: OSGiIT > > > Key: OAK-7311 > URL: https://issues.apache.org/jira/browse/OAK-7311 > Project: Jackrabbit Oak > Issue Type: Bug > Components: continuous integration, it >Reporter: Hudson >Assignee: Andrei Dulceanu >Priority: Major > > No description is provided > The build Jackrabbit Oak #1285 has failed. > First failed run: [Jackrabbit Oak > #1285|https://builds.apache.org/job/Jackrabbit%20Oak/1285/] [console > log|https://builds.apache.org/job/Jackrabbit%20Oak/1285/console] > {noformat} > ERROR: Bundle org.apache.jackrabbit.oak-segment-tar [32] Error starting > file:/home/jenkins/jenkins-slave/workspace/Jackrabbit%20Oak/oak-it-osgi/target/test-bundles/oak-segment-tar.jar > (org.osgi.framework.BundleException: Unable to resolve > org.apache.jackrabbit.oak-segment-tar [32](R 32.0): missing requirement > [org.apache.jackrabbit.oak-segment-tar [32](R 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0))) > Unresolved requirements: [[org.apache.jackrabbit.oak-segment-tar [32](R > 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0)))]) > org.osgi.framework.BundleException: Unable to resolve > org.apache.jackrabbit.oak-segment-tar [32](R 32.0): missing requirement > [org.apache.jackrabbit.oak-segment-tar [32](R 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0))) > Unresolved requirements: [[org.apache.jackrabbit.oak-segment-tar [32](R > 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0)))] > at > org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4148) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2118) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372) > at > org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7315) Remove redundant JavaDoc link to Java 7 API
[ https://issues.apache.org/jira/browse/OAK-7315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated OAK-7315: -- Affects Version/s: 1.8.3 Merged into 1.8 branch: http://svn.apache.org/r1826093 > Remove redundant JavaDoc link to Java 7 API > --- > > Key: OAK-7315 > URL: https://issues.apache.org/jira/browse/OAK-7315 > Project: Jackrabbit Oak > Issue Type: Task > Components: parent >Affects Versions: 1.8.0, 1.8.3 >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Minor > Fix For: 1.9.0, 1.10 > > > Oak trunk and 1.8 branch require Java 8 and their JavaDoc should therefore > link to the corresponding Java version. It currently links to Java 7 JavaDoc. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7259) Improve SegmentNodeStoreStats to include number of commits per thread and threads currently waiting on the semaphore
[ https://issues.apache.org/jira/browse/OAK-7259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389342#comment-16389342 ] Andrei Dulceanu commented on OAK-7259: -- Added missing dependencies in {{oak-it-osgi}} at r1825996 and r1826091. > Improve SegmentNodeStoreStats to include number of commits per thread and > threads currently waiting on the semaphore > > > Key: OAK-7259 > URL: https://issues.apache.org/jira/browse/OAK-7259 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: segment-tar >Reporter: Andrei Dulceanu >Assignee: Andrei Dulceanu >Priority: Major > Labels: tooling > Fix For: 1.9.0, 1.10 > > > When investigating the performance of {{segment-tar}}, the source of the > writes (commits) is a very useful indicator of the cause. > To better understand which threads are currently writing in the repository > and which are blocked on the semaphore, we need to improve > {{SegmentNodeStoreStats}} to: > * expose the number of commits executed per thread > * expose threads currently waiting on the semaphore -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (OAK-7306) MongoDocumentStore: use transient DocumentStoreException type where appropriate
[ https://issues.apache.org/jira/browse/OAK-7306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved OAK-7306. --- Resolution: Fixed Changed in trunk: http://svn.apache.org/r1826092 > MongoDocumentStore: use transient DocumentStoreException type where > appropriate > --- > > Key: OAK-7306 > URL: https://issues.apache.org/jira/browse/OAK-7306 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: mongomk >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Minor > Fix For: 1.9.0, 1.10 > > > Once available use the transient DocumentStoreException type where > appropriate in MongoDocumentStore. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7311) Test failure: OSGiIT
[ https://issues.apache.org/jira/browse/OAK-7311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389335#comment-16389335 ] Hudson commented on OAK-7311: - Build is still failing. Failed run: [Jackrabbit Oak #1289|https://builds.apache.org/job/Jackrabbit%20Oak/1289/] [console log|https://builds.apache.org/job/Jackrabbit%20Oak/1289/console] > Test failure: OSGiIT > > > Key: OAK-7311 > URL: https://issues.apache.org/jira/browse/OAK-7311 > Project: Jackrabbit Oak > Issue Type: Bug > Components: continuous integration, it >Reporter: Hudson >Assignee: Andrei Dulceanu >Priority: Major > > No description is provided > The build Jackrabbit Oak #1285 has failed. > First failed run: [Jackrabbit Oak > #1285|https://builds.apache.org/job/Jackrabbit%20Oak/1285/] [console > log|https://builds.apache.org/job/Jackrabbit%20Oak/1285/console] > {noformat} > ERROR: Bundle org.apache.jackrabbit.oak-segment-tar [32] Error starting > file:/home/jenkins/jenkins-slave/workspace/Jackrabbit%20Oak/oak-it-osgi/target/test-bundles/oak-segment-tar.jar > (org.osgi.framework.BundleException: Unable to resolve > org.apache.jackrabbit.oak-segment-tar [32](R 32.0): missing requirement > [org.apache.jackrabbit.oak-segment-tar [32](R 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0))) > Unresolved requirements: [[org.apache.jackrabbit.oak-segment-tar [32](R > 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0)))]) > org.osgi.framework.BundleException: Unable to resolve > org.apache.jackrabbit.oak-segment-tar [32](R 32.0): missing requirement > [org.apache.jackrabbit.oak-segment-tar [32](R 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0))) > Unresolved requirements: [[org.apache.jackrabbit.oak-segment-tar [32](R > 32.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.googlecode.concurrentlinkedhashmap)(version>=1.4.0)(!(version>=2.0.0)))] > at > org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4148) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2118) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372) > at > org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (OAK-7315) Remove redundant JavaDoc link to Java 7 API
[ https://issues.apache.org/jira/browse/OAK-7315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved OAK-7315. --- Resolution: Fixed Fix Version/s: 1.9.0 Done in trunk: http://svn.apache.org/r1826090 > Remove redundant JavaDoc link to Java 7 API > --- > > Key: OAK-7315 > URL: https://issues.apache.org/jira/browse/OAK-7315 > Project: Jackrabbit Oak > Issue Type: Task > Components: parent >Affects Versions: 1.8.0 >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Minor > Fix For: 1.9.0, 1.10 > > > Oak trunk and 1.8 branch require Java 8 and their JavaDoc should therefore > link to the corresponding Java version. It currently links to Java 7 JavaDoc. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7315) Remove redundant JavaDoc link to Java 7 API
[ https://issues.apache.org/jira/browse/OAK-7315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated OAK-7315: -- Summary: Remove redundant JavaDoc link to Java 7 API (was: Link JavaDoc to Java 8) > Remove redundant JavaDoc link to Java 7 API > --- > > Key: OAK-7315 > URL: https://issues.apache.org/jira/browse/OAK-7315 > Project: Jackrabbit Oak > Issue Type: Task > Components: parent >Affects Versions: 1.8.0 >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Minor > Fix For: 1.10 > > > Oak trunk and 1.8 branch require Java 8 and their JavaDoc should therefore > link to the corresponding Java version. It currently links to Java 7 JavaDoc. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7315) Link JavaDoc to Java 8
[ https://issues.apache.org/jira/browse/OAK-7315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389329#comment-16389329 ] Marcel Reutegger commented on OAK-7315: --- Turns out the generated JavaDoc actually links to Java 8 even though the pom.xml contains a link to http://docs.oracle.com/javase/7/docs/api/ This is because the maven-javadoc-plugin [automatically detects the Java API links|https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#detectJavaApiLink] since 2.6 based on the {{source}} configuration. > Link JavaDoc to Java 8 > -- > > Key: OAK-7315 > URL: https://issues.apache.org/jira/browse/OAK-7315 > Project: Jackrabbit Oak > Issue Type: Task > Components: parent >Affects Versions: 1.8.0 >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Minor > Fix For: 1.10 > > > Oak trunk and 1.8 branch require Java 8 and their JavaDoc should therefore > link to the corresponding Java version. It currently links to Java 7 JavaDoc. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7307) RDBDocumentStore: use transient DocumentStoreException type where appropriate
[ https://issues.apache.org/jira/browse/OAK-7307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389310#comment-16389310 ] Julian Reschke commented on OAK-7307: - Potentially for https://docs.oracle.com/javase/7/docs/api/java/sql/SQLTransientException.html - question would be "how soon" and "how many times"... There's also at least one place where {{RDBDocumentStore}} gives up due to potential race conditions; that might be retryable as well. > RDBDocumentStore: use transient DocumentStoreException type where appropriate > - > > Key: OAK-7307 > URL: https://issues.apache.org/jira/browse/OAK-7307 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: rdbmk >Reporter: Marcel Reutegger >Assignee: Julian Reschke >Priority: Major > Fix For: 1.10 > > > Once available use the transient DocumentStoreException type where > appropriate in RDBDocumentStore. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (OAK-7310) Empty package-info.java causes unnecessary rebuild
[ https://issues.apache.org/jira/browse/OAK-7310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved OAK-7310. --- Resolution: Fixed Reverted previous commit: http://svn.apache.org/r1826087 Added the compiler argument to oak-parent/pom.xml: http://svn.apache.org/r1826089 > Empty package-info.java causes unnecessary rebuild > -- > > Key: OAK-7310 > URL: https://issues.apache.org/jira/browse/OAK-7310 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: parent >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Trivial > Fix For: 1.9.0, 1.10 > > > The file is used as JavaDoc package overview documentation but doesn't not > contain any class or interface. By default the Java compiler does not create > a class file for it which confuses the maven compiler plugin. The the plugin > interprets the 'missing' class file as an indication to rebuild the module > even if there are no other changes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7314) RDB*Store: use SDMAXREV column in RevisionGC query
[ https://issues.apache.org/jira/browse/OAK-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7314: Attachment: OAK-7314.diff > RDB*Store: use SDMAXREV column in RevisionGC query > -- > > Key: OAK-7314 > URL: https://issues.apache.org/jira/browse/OAK-7314 > Project: Jackrabbit Oak > Issue Type: Task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Labels: candidate_oak_1_8 > Attachments: OAK-7314.diff > > > (oversight when working on OAK-6965, which introduced the column into the DB > schema, but neglected to actually use it in the query) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7314) RDB*Store: use SDMAXREV column in RevisionGC query
[ https://issues.apache.org/jira/browse/OAK-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7314: Description: (oversight when working on OAK-6965, which introduced the column into the DB schema, but neglected to actually use it in the query) (was: (oversight when working on OAK-6965)) > RDB*Store: use SDMAXREV column in RevisionGC query > -- > > Key: OAK-7314 > URL: https://issues.apache.org/jira/browse/OAK-7314 > Project: Jackrabbit Oak > Issue Type: Task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Labels: candidate_oak_1_8 > > (oversight when working on OAK-6965, which introduced the column into the DB > schema, but neglected to actually use it in the query) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7315) Link JavaDoc to Java 8
[ https://issues.apache.org/jira/browse/OAK-7315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated OAK-7315: -- Affects Version/s: 1.8.0 > Link JavaDoc to Java 8 > -- > > Key: OAK-7315 > URL: https://issues.apache.org/jira/browse/OAK-7315 > Project: Jackrabbit Oak > Issue Type: Task > Components: parent >Affects Versions: 1.8.0 >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Minor > Fix For: 1.10 > > > Oak trunk requires Java 8 and its JavaDoc should therefore link to the > corresponding Java version. It currently links to Java 7 JavaDoc. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7315) Link JavaDoc to Java 8
[ https://issues.apache.org/jira/browse/OAK-7315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated OAK-7315: -- Description: Oak trunk and 1.8 branch require Java 8 and their JavaDoc should therefore link to the corresponding Java version. It currently links to Java 7 JavaDoc. (was: Oak trunk requires Java 8 and its JavaDoc should therefore link to the corresponding Java version. It currently links to Java 7 JavaDoc.) > Link JavaDoc to Java 8 > -- > > Key: OAK-7315 > URL: https://issues.apache.org/jira/browse/OAK-7315 > Project: Jackrabbit Oak > Issue Type: Task > Components: parent >Affects Versions: 1.8.0 >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Minor > Fix For: 1.10 > > > Oak trunk and 1.8 branch require Java 8 and their JavaDoc should therefore > link to the corresponding Java version. It currently links to Java 7 JavaDoc. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Reopened] (OAK-7306) MongoDocumentStore: use transient DocumentStoreException type where appropriate
[ https://issues.apache.org/jira/browse/OAK-7306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger reopened OAK-7306: --- Interrupted operations may also surface as {{WriteConcernException}} (in addition to {{MongoWriteConcernException}}. > MongoDocumentStore: use transient DocumentStoreException type where > appropriate > --- > > Key: OAK-7306 > URL: https://issues.apache.org/jira/browse/OAK-7306 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: mongomk >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Minor > Fix For: 1.9.0, 1.10 > > > Once available use the transient DocumentStoreException type where > appropriate in MongoDocumentStore. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (OAK-7315) Link JavaDoc to Java 8
Marcel Reutegger created OAK-7315: - Summary: Link JavaDoc to Java 8 Key: OAK-7315 URL: https://issues.apache.org/jira/browse/OAK-7315 Project: Jackrabbit Oak Issue Type: Task Components: parent Reporter: Marcel Reutegger Assignee: Marcel Reutegger Fix For: 1.10 Oak trunk requires Java 8 and its JavaDoc should therefore link to the corresponding Java version. It currently links to Java 7 JavaDoc. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7310) Empty package-info.java causes unnecessary rebuild
[ https://issues.apache.org/jira/browse/OAK-7310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated OAK-7310: -- Component/s: (was: rdbmk) parent Summary: Empty package-info.java causes unnecessary rebuild (was: Empty package-info.java in o.a.j.o.plugins.document.rdb causes unnecessary rebuild) > Empty package-info.java causes unnecessary rebuild > -- > > Key: OAK-7310 > URL: https://issues.apache.org/jira/browse/OAK-7310 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: parent >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Trivial > Fix For: 1.9.0, 1.10 > > > The file is used as JavaDoc package overview documentation but doesn't not > contain any class or interface. By default the Java compiler does not create > a class file for it which confuses the maven compiler plugin. The the plugin > interprets the 'missing' class file as an indication to rebuild the module > even if there are no other changes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Reopened] (OAK-7310) Empty package-info.java in o.a.j.o.plugins.document.rdb causes unnecessary rebuild
[ https://issues.apache.org/jira/browse/OAK-7310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger reopened OAK-7310: --- Agreed, it's better to use it consistently. > Empty package-info.java in o.a.j.o.plugins.document.rdb causes unnecessary > rebuild > -- > > Key: OAK-7310 > URL: https://issues.apache.org/jira/browse/OAK-7310 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: rdbmk >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Trivial > Fix For: 1.9.0, 1.10 > > > The file is used as JavaDoc package overview documentation but doesn't not > contain any class or interface. By default the Java compiler does not create > a class file for it which confuses the maven compiler plugin. The the plugin > interprets the 'missing' class file as an indication to rebuild the module > even if there are no other changes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7307) RDBDocumentStore: use transient DocumentStoreException type where appropriate
[ https://issues.apache.org/jira/browse/OAK-7307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389254#comment-16389254 ] Marcel Reutegger commented on OAK-7307: --- [~reschke], are there even cases in RDBDocumentStore when the DocumentNodeStore should retry a commit? > RDBDocumentStore: use transient DocumentStoreException type where appropriate > - > > Key: OAK-7307 > URL: https://issues.apache.org/jira/browse/OAK-7307 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: rdbmk >Reporter: Marcel Reutegger >Assignee: Julian Reschke >Priority: Major > Fix For: 1.10 > > > Once available use the transient DocumentStoreException type where > appropriate in RDBDocumentStore. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7286) DocumentNodeStoreBranch handling of non-recoverable DocumentStoreExceptions
[ https://issues.apache.org/jira/browse/OAK-7286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated OAK-7286: -- Fix Version/s: (was: 1.9.0) > DocumentNodeStoreBranch handling of non-recoverable DocumentStoreExceptions > --- > > Key: OAK-7286 > URL: https://issues.apache.org/jira/browse/OAK-7286 > Project: Jackrabbit Oak > Issue Type: Task > Components: documentmk >Reporter: Julian Reschke >Assignee: Marcel Reutegger >Priority: Major > Fix For: 1.10 > > Attachments: OAK-7286-DocumentStoreException.patch, > OAK-7286-DocumentStoreException.patch, OAK-7286.diff, OAK-7286.diff > > > In {{DocumentNodeStoreBranch.merge()}}, any {{DocumentStoreException}} is > mapped to a {{DocumentStoreException}} to a {{CommitFailedException}} of type > "MERGE", which leads to the operation being retried, and a non-helpful > exception being generated. > The effect can be observed by enabling a test in {{ValidNamesTest}}: > {noformat} > --- oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ValidNamesTest.java > (Revision 1825371) > +++ oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ValidNamesTest.java > (Arbeitskopie) > @@ -300,7 +300,6 @@ > public void testUnpairedHighSurrogateEnd() { > // see OAK-5506 > > org.junit.Assume.assumeFalse(super.fixture.toString().toLowerCase().contains("segment")); > - > org.junit.Assume.assumeFalse(super.fixture.toString().toLowerCase().contains("rdb")); > nameTest("foo" + SURROGATE_PAIR[0]); > } > @@ -336,6 +335,7 @@ > assertEquals("paths should be equal", p.getPath(), n.getPath()); > return p; > } catch (RepositoryException ex) { > +ex.printStackTrace(); > fail(ex.getMessage()); > return null; > } > {noformat} > The underlying issue is that {{RDBDocumentStore}} is throwing a > {{DocumentStoreException}} due to the invalid ID, and repeating the call will > not help. > We probably should have a way to dinstinguish between different types of > problems. > I hacked {{DocumentNodeStoreBranch}} like that: > {noformat} > --- > oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreBranch.java > (Revision 1825371) > +++ > oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreBranch.java > (Arbeitskopie) > @@ -520,8 +520,12 @@ > } catch (ConflictException e) { > throw e.asCommitFailedException(); > } catch(DocumentStoreException e) { > -throw new CommitFailedException(MERGE, 1, > -"Failed to merge changes to the underlying > store", e); > +if (e.getMessage().contains("Invalid ID")) { > +throw new CommitFailedException(OAK, 123, > +"Failed to store changes in the underlying > store: " + e.getMessage(), e); > +} else { > +throw new CommitFailedException(MERGE, 1, "Failed to > merge changes to the underlying store", e); > +} > } catch (Exception e) { > throw new CommitFailedException(OAK, 1, > "Failed to merge changes to the underlying > store", e); > {noformat} > ...which causes the exception to surface immediately (see > https://issues.apache.org/jira/secure/attachment/12912117/OAK-7286.diff). > (cc [~mreutegg]) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7310) Empty package-info.java in o.a.j.o.plugins.document.rdb causes unnecessary rebuild
[ https://issues.apache.org/jira/browse/OAK-7310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389250#comment-16389250 ] Julian Reschke commented on OAK-7310: - Hm, shouldn't we do that for all subprojects? > Empty package-info.java in o.a.j.o.plugins.document.rdb causes unnecessary > rebuild > -- > > Key: OAK-7310 > URL: https://issues.apache.org/jira/browse/OAK-7310 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: rdbmk >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Trivial > Fix For: 1.9.0, 1.10 > > > The file is used as JavaDoc package overview documentation but doesn't not > contain any class or interface. By default the Java compiler does not create > a class file for it which confuses the maven compiler plugin. The the plugin > interprets the 'missing' class file as an indication to rebuild the module > even if there are no other changes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (OAK-7308) Retry commit on transient DocumentStoreException
[ https://issues.apache.org/jira/browse/OAK-7308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved OAK-7308. --- Resolution: Fixed Fix Version/s: 1.9.0 Done in trunk: http://svn.apache.org/r1826086 > Retry commit on transient DocumentStoreException > > > Key: OAK-7308 > URL: https://issues.apache.org/jira/browse/OAK-7308 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: documentmk >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Minor > Fix For: 1.9.0, 1.10 > > > The DocumentNodeStore should retry a commit on a transient > DocumentStoreException. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (OAK-7310) Empty package-info.java in o.a.j.o.plugins.document.rdb causes unnecessary rebuild
[ https://issues.apache.org/jira/browse/OAK-7310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved OAK-7310. --- Resolution: Fixed Fix Version/s: 1.10 1.9.0 Added {{-Xpkginfo:always}} to the maven-compiler-plugin in trunk: http://svn.apache.org/r1826084 > Empty package-info.java in o.a.j.o.plugins.document.rdb causes unnecessary > rebuild > -- > > Key: OAK-7310 > URL: https://issues.apache.org/jira/browse/OAK-7310 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: rdbmk >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Trivial > Fix For: 1.9.0, 1.10 > > > The file is used as JavaDoc package overview documentation but doesn't not > contain any class or interface. By default the Java compiler does not create > a class file for it which confuses the maven compiler plugin. The the plugin > interprets the 'missing' class file as an indication to rebuild the module > even if there are no other changes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7310) Empty package-info.java in o.a.j.o.plugins.document.rdb causes unnecessary rebuild
[ https://issues.apache.org/jira/browse/OAK-7310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated OAK-7310: -- Description: The file is used as JavaDoc package overview documentation but doesn't not contain any class or interface. By default the Java compiler does not create a class file for it which confuses the maven compiler plugin. The the plugin interprets the 'missing' class file as an indication to rebuild the module even if there are no other changes. (was: The file was created with OAK-1266 a long time ago, but doesn't contain anything useful than a one line comment.) Issue Type: Improvement (was: Bug) Summary: Empty package-info.java in o.a.j.o.plugins.document.rdb causes unnecessary rebuild (was: Empty package-info.java in o.a.j.o.plugins.document.rdb) > Empty package-info.java in o.a.j.o.plugins.document.rdb causes unnecessary > rebuild > -- > > Key: OAK-7310 > URL: https://issues.apache.org/jira/browse/OAK-7310 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: rdbmk >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Trivial > > The file is used as JavaDoc package overview documentation but doesn't not > contain any class or interface. By default the Java compiler does not create > a class file for it which confuses the maven compiler plugin. The the plugin > interprets the 'missing' class file as an indication to rebuild the module > even if there are no other changes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7314) RDB*Store: use SDMAXREV column in RevisionGC query
[ https://issues.apache.org/jira/browse/OAK-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7314: Labels: candidate_oak_1_8 (was: ) > RDB*Store: use SDMAXREV column in RevisionGC query > -- > > Key: OAK-7314 > URL: https://issues.apache.org/jira/browse/OAK-7314 > Project: Jackrabbit Oak > Issue Type: Task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Labels: candidate_oak_1_8 > > (oversight when working on OAK-6965) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7314) RDB*Store: use SDMAXREV column in RevisionGC query
[ https://issues.apache.org/jira/browse/OAK-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7314: Description: (oversight when working on OAK-6965 > RDB*Store: use SDMAXREV column in RevisionGC query > -- > > Key: OAK-7314 > URL: https://issues.apache.org/jira/browse/OAK-7314 > Project: Jackrabbit Oak > Issue Type: Task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Labels: candidate_oak_1_8 > > (oversight when working on OAK-6965 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7314) RDB*Store: use SDMAXREV column in RevisionGC query
[ https://issues.apache.org/jira/browse/OAK-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7314: Description: (oversight when working on OAK-6965) (was: (oversight when working on OAK-6965) > RDB*Store: use SDMAXREV column in RevisionGC query > -- > > Key: OAK-7314 > URL: https://issues.apache.org/jira/browse/OAK-7314 > Project: Jackrabbit Oak > Issue Type: Task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Labels: candidate_oak_1_8 > > (oversight when working on OAK-6965) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (OAK-7314) RDB*Store: use SDMAXREV column in RevisionGC query
Julian Reschke created OAK-7314: --- Summary: RDB*Store: use SDMAXREV column in RevisionGC query Key: OAK-7314 URL: https://issues.apache.org/jira/browse/OAK-7314 Project: Jackrabbit Oak Issue Type: Task Components: rdbmk Reporter: Julian Reschke Assignee: Julian Reschke -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Reopened] (OAK-7310) Empty package-info.java in o.a.j.o.plugins.document.rdb
[ https://issues.apache.org/jira/browse/OAK-7310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger reopened OAK-7310: --- Assignee: Marcel Reutegger (was: Julian Reschke) I'm re-opening this issue and change the title and description to better describe what problem it should solve. > Empty package-info.java in o.a.j.o.plugins.document.rdb > --- > > Key: OAK-7310 > URL: https://issues.apache.org/jira/browse/OAK-7310 > Project: Jackrabbit Oak > Issue Type: Bug > Components: rdbmk >Reporter: Marcel Reutegger >Assignee: Marcel Reutegger >Priority: Trivial > > The file was created with OAK-1266 a long time ago, but doesn't contain > anything useful than a one line comment. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7310) Empty package-info.java in o.a.j.o.plugins.document.rdb
[ https://issues.apache.org/jira/browse/OAK-7310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389227#comment-16389227 ] Marcel Reutegger commented on OAK-7310: --- bq. Maybe because the plugin detects the missing class file and thus thinks a rebuild is needed? Yes, most likely. I added {{-Xpkginfo:always}} locally and now the compiler doesn't rebuild the module when there are no changes. > Empty package-info.java in o.a.j.o.plugins.document.rdb > --- > > Key: OAK-7310 > URL: https://issues.apache.org/jira/browse/OAK-7310 > Project: Jackrabbit Oak > Issue Type: Bug > Components: rdbmk >Reporter: Marcel Reutegger >Assignee: Julian Reschke >Priority: Trivial > > The file was created with OAK-1266 a long time ago, but doesn't contain > anything useful than a one line comment. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (OAK-7313) RDB*Store: add DEBUG level logging for filters in RDBVersionGCSupport
[ https://issues.apache.org/jira/browse/OAK-7313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389045#comment-16389045 ] Julian Reschke edited comment on OAK-7313 at 3/7/18 8:09 AM: - trunk: [r1826079|http://svn.apache.org/r1826079] 1.8: [r1826082|http://svn.apache.org/r1826082] was (Author: reschke): trunk: [r1826079|http://svn.apache.org/r1826079] > RDB*Store: add DEBUG level logging for filters in RDBVersionGCSupport > - > > Key: OAK-7313 > URL: https://issues.apache.org/jira/browse/OAK-7313 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Minor > Fix For: 1.9.0, 1.10, 1.8.3 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7313) RDB*Store: add DEBUG level logging for filters in RDBVersionGCSupport
[ https://issues.apache.org/jira/browse/OAK-7313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7313: Fix Version/s: 1.8.3 > RDB*Store: add DEBUG level logging for filters in RDBVersionGCSupport > - > > Key: OAK-7313 > URL: https://issues.apache.org/jira/browse/OAK-7313 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Minor > Fix For: 1.9.0, 1.10, 1.8.3 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7313) RDB*Store: add DEBUG level logging for filters in RDBVersionGCSupport
[ https://issues.apache.org/jira/browse/OAK-7313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7313: Labels: (was: candidate_oak_1_8) > RDB*Store: add DEBUG level logging for filters in RDBVersionGCSupport > - > > Key: OAK-7313 > URL: https://issues.apache.org/jira/browse/OAK-7313 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: rdbmk >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Minor > Fix For: 1.9.0, 1.10, 1.8.3 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)