You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2015/09/14 10:10:46 UTC

[jira] [Updated] (OAK-3389) oak-run check for dropped tables broken

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

Stefan Egli updated OAK-3389:
-----------------------------
    Attachment: OAK-3389.patch

As suggested by Marcel on [the list|http://markmail.org/message/dlz5h7db6umf5t2w] one short-term fix would be to disable the lease-check here. Attached a suggested patch which does this: [^OAK-3389.patch]

> oak-run check for dropped tables broken
> ---------------------------------------
>
>                 Key: OAK-3389
>                 URL: https://issues.apache.org/jira/browse/OAK-3389
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: rdbmk, run
>    Affects Versions: 1.3.5
>            Reporter: Julian Reschke
>         Attachments: OAK-3389.patch
>
>
>             @Override
>             public void tearDownCluster() {
>                 String dropped = "";
>                 for (DocumentMK kernel : kernels) {
>                     kernel.dispose();
>                     if (kernel.getDocumentStore() instanceof RDBDocumentStore) {
>                         dropped += ((RDBDocumentStore)kernel.getDocumentStore()).getDroppedTables();
>                     }
>                 }
>                 if (dropDBAfterTest) {
>                     if(blobStoreFixture != null){
>                         blobStoreFixture.tearDown();
>                     }
>                     if (dropped.isEmpty()) {
>                         throw new RuntimeException("dropdb was set, but tables have not been dropped");
>                     }
>                 }
>             }
> has been broken because the DS is now wrapped by LeaseCheckDocumentStoreWrapper. Figure out a different way to obtain the information.



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