[JBoss JIRA] Resolved: (TEIID-1380) When server is shut down, and then a vdb is replaced in the deploy directory, the teiid metadata cache becomes out of sync, and requires the user to delete the <server>data/teiid directory
by Ramesh Reddy (JIRA)
[ https://jira.jboss.org/browse/TEIID-1380?page=com.atlassian.jira.plugin.s... ]
Ramesh Reddy resolved TEIID-1380.
---------------------------------
Assignee: Ramesh Reddy
Resolution: Done
The metadata load process now checks for the VDB modified time with the previous metadata cache file time. As long as vdb modified time is before cached file time, it allows previously loaded metadata, otherwise the cached metadata is deleted and vdb is loaded from .vdb file.
> When server is shut down, and then a vdb is replaced in the deploy directory, the teiid metadata cache becomes out of sync, and requires the user to delete the <server>data/teiid directory
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TEIID-1380
> URL: https://jira.jboss.org/browse/TEIID-1380
> Project: Teiid
> Issue Type: Bug
> Components: Server
> Affects Versions: 7.1.1
> Reporter: Van Halbert
> Assignee: Ramesh Reddy
> Priority: Blocker
>
> If a vdb is replaced while the server is shut down, the teiid metadata cache can become out-of-sync and the to fix it, the <server>data/teiid directory must be deleted to force it to refresh and sync up.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Resolved: (TEIID-1336) EDS adminshell - clearCache() having no effect
by Ramesh Reddy (JIRA)
[ https://jira.jboss.org/browse/TEIID-1336?page=com.atlassian.jira.plugin.s... ]
Ramesh Reddy resolved TEIID-1336.
---------------------------------
Resolution: Done
try now
> EDS adminshell - clearCache() having no effect
> ----------------------------------------------
>
> Key: TEIID-1336
> URL: https://jira.jboss.org/browse/TEIID-1336
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.1.1
> Environment: SOA-P 5.1 ER3 build
> Reporter: Len DiMaggio
> Assignee: Ramesh Reddy
> Fix For: 7.1.1
>
>
> clearCache() doesn't look like it's doing anything - see below:
> groovy:000> connectAsAdmin("mms://localhost:31443", "admin", "admin", "conn-1")
> ===> null
> groovy:000> getCacheStats("QUERY_SERVICE_RESULT_SET_CACHE")
> ===> hitRatio=0.0; totalEntries=0; requestCount=3
> groovy:000> clearCache("QUERY_SERVICE_RESULT_SET_CACHE")
> ===> null
> groovy:000> getCacheStats("QUERY_SERVICE_RESULT_SET_CACHE")
> ===> hitRatio=0.0; totalEntries=0; requestCount=3
> ===================
> server.log:
> 2010-10-29 12:13:07,065 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1) processing message:MessageHolder: contents=org.teiid.net.socket.ServiceInvocationStruct@18cf5ea
> 2010-10-29 12:13:07,065 DEBUG [org.teiid.SECURITY] (New I/O server worker #2-1) Ping MLwHWKFcHgcq
> 2010-10-29 12:13:07,065 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1) message: MessageHolder: contents=null for request ID:38
> 2010-10-29 12:13:07,067 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1) processing message:MessageHolder: contents=org.teiid.net.socket.ServiceInvocationStruct@c171b7
> 2010-10-29 12:13:07,067 DEBUG [org.teiid.ADMIN_API] (New I/O server worker #2-1) before clearCache:org.teiid.adminapi.jboss.Admin@1a42c71(QUERY_SERVICE_RESULT_SET_CACHE)
> 2010-10-29 12:13:07,067 DEBUG [org.teiid.ADMIN_API] (New I/O server worker #2-1) after clearCache : null
> 2010-10-29 12:13:07,067 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1) message: MessageHolder: contents=null for request ID:39
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Resolved: (TEIID-189) Temp tables should maintain their costing metadata
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/browse/TEIID-189?page=com.atlassian.jira.plugin.sy... ]
Steven Hawkins resolved TEIID-189.
----------------------------------
Fix Version/s: 7.2
(was: 7.3)
Resolution: Partially Completed
For now cardinality is enough. Will probably address other stats gathering as part of the runtime costing issue.
> Temp tables should maintain their costing metadata
> --------------------------------------------------
>
> Key: TEIID-189
> URL: https://jira.jboss.org/browse/TEIID-189
> Project: Teiid
> Issue Type: Feature Request
> Components: Query Engine
> Affects Versions: 8.x
> Reporter: Steven Hawkins
> Priority: Optional
> Fix For: 7.2
>
>
> Defect Tracker #24522: Temp table cardinality is currently only used for staging tables. It would also be generally useful for ad hoc queries to have the TempTableStoreImpl maintain the cardinality of the tables. Other costing information could actually be incorrect now (such as column min/max) depending upon what has been selected into a temp table.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months