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

Steven Hawkins (JIRA) issues at jboss.org
Sun Apr 15 09:18:00 EDT 2018


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

Steven Hawkins resolved TEIID-5315.
-----------------------------------
    Fix Version/s: 10.1.3
                   10.2.1
       Resolution: Done


Updated the code to continue the polling.  Also updated the polling interval to make it more easily controlled by the unit test - but we may make it a proper property if needed.

> 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