]
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@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}