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

Steven Hawkins (JIRA) issues at jboss.org
Tue Apr 17 14:07:00 EDT 2018


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

Steven Hawkins resolved TEIID-5315.
-----------------------------------
    Resolution: Done


Added an undocumented parameter only_if_needed to the loadMatView procedure to match the expectation of the pct load based polling.  Also made the ttl resolution of the procedure based upon milliseconds rather than seconds.

> 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