Metadata load failure between retries of multi-source models
------------------------------------------------------------
Key: TEIID-3341
URL:
https://issues.jboss.org/browse/TEIID-3341
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 7.7
Reporter: Ramesh Reddy
Assignee: Steven Hawkins
Fix For: 8.10
The code will attempt to load from each source until one is successful. There is an
issue however that the metadatafactory is not being reset, so the next load attempt will
be against existing metadata. At the debug level this will be seen as "Failed to get
metadata, trying next source."
From the forum post - If the metadata factories are chained like "NATIVE, DDL",
with invalid DDL, a duplicate table issue is seen instead.