[teiid-issues] [JBoss JIRA] (TEIID-5315) MATVIEW_MAX_STALENESS_PCT reloads only based upon ttl

Steven Hawkins (JIRA) issues at jboss.org
Mon Apr 16 17:53:00 EDT 2018


     [ https://issues.jboss.org/browse/TEIID-5315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins reopened TEIID-5315:
-----------------------------------


With the TEIID-4283 fix, there was a shift in the functionality of the loadMatView procedure - it no longer was attempting to do a load conditional on ttl - but to always perform the load.  This is the same as the refreshMatView for internal.  This means that the more frequent scheduling of a task based upon the staleness is simply reloading every time.

> MATVIEW_MAX_STALENESS_PCT reloads only based upon ttl
> -----------------------------------------------------
>
>                 Key: TEIID-5315
>                 URL: https://issues.jboss.org/browse/TEIID-5315
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 10.3, 10.1.3, 10.2.1
>
>
> https://github.com/teiid/teiid/blob/6d378d44fc7cb220ebc3a7068ff5f747e49dc557/runtime/src/main/java/org/teiid/runtime/MaterializationManager.java#L197
> Should schedule a recurring task for reloading based upon the staleness percentage, instead it is only a oneTimeJob.  This means that after the first load, it will revert to using the ttl for reloads.
> We should also be explicit in the docs that the staleness is checked every minute.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the teiid-issues mailing list