[teiid-issues] [JBoss JIRA] (TEIID-4388) If model fails to load native metadata, VDB has still status LOADING

Ramesh Reddy (JIRA) issues at jboss.org
Wed Aug 17 07:14:00 EDT 2016


    [ https://issues.jboss.org/browse/TEIID-4388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280170#comment-13280170 ] 

Ramesh Reddy commented on TEIID-4388:
-------------------------------------

Because once the connection is available, it will retry. Where as if there is validation error then it will move to the FAILED state, which means you need to make modifications before you can re-deploy. Where as LOADING just intermediate state, where data source could be down temporarily or issues can be solved without re-deploy 

> If model fails to load native metadata, VDB has still status LOADING
> --------------------------------------------------------------------
>
>                 Key: TEIID-4388
>                 URL: https://issues.jboss.org/browse/TEIID-4388
>             Project: Teiid
>          Issue Type: Bug
>            Reporter: Juraj Duráni
>            Assignee: Steven Hawkins
>
> If one model fails to load native metadata, VDB's status is still LOADING.
> {code:plain|title=CLI status}
> [standalone at localhost:9999 /] /subsystem=teiid:get-vdb(vdb-name=test,vdb-version=1)
> {
>     "outcome" => "success",
>     "result" => {
>         "vdb-name" => "test",
>         "status" => "LOADING",
>         "vdb-version" => 1,
>         ...
>         "models" => [
>             {
>                 "model-name" => "Source1",
>                 ...
>                 "metadata-status" => "LOADED"
>             },
>             {
>                 "model-name" => "Source2",
>                 ...
>                 "validity-errors" => [
>                     {
>                         "severity" => "INFO",
>                         "message" => "TEIID50029 VDB test.1 model \"Source2\" metadata is currently being loaded. Start Time: 8/17/16 7:41 AM"
>                     },
>                     {
>                         "severity" => "ERROR",
>                         "message" => "TEIID31178 Could not obtain connection for schema Source2, but one is required for metadata load. "
>                     }
>                 ],
>                 ...
>                 "metadata-status" => "FAILED"
>             },
>             {
>                 "model-name" => "Source3",
>                 ...
>                 "metadata-status" => "LOADED"
>             }
>         ]
>     }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the teiid-issues mailing list