[teiid-issues] [JBoss JIRA] (TEIID-4778) External Materialization, When TTL is less than loading time, the scheduling is off

Johnathon Lee (JIRA) issues at jboss.org
Thu Mar 2 10:11:00 EST 2017


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

Johnathon Lee updated TEIID-4778:
---------------------------------
    Fix Version/s: 8.12.10.6_3


> External Materialization, When TTL is less than loading time, the scheduling is off
> -----------------------------------------------------------------------------------
>
>                 Key: TEIID-4778
>                 URL: https://issues.jboss.org/browse/TEIID-4778
>             Project: Teiid
>          Issue Type: Sub-task
>          Components: Server
>    Affects Versions: 8.7
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>              Labels: Alpha1
>             Fix For: 9.3, 9.2.1, 9.1.4, 8.12.10.6_3
>
>
> During managed external mateiralization, 
> 1) if the TTL specified is less than the amount of load time
> 2) Then, if other nodes check the status at "LOADING", and the elapsed time is calculated from the time on the {{Status}} table. Which when goes over the TTL, it will be a negative value
> 3) Then, the scheduling algorithm schedules the next check immediately, which will be exactly same as one before as it also checks from the last updated time. Thus going into a tight loop which consume all the resources spinning.
> Correct this to check that, the scheduler always schedules next check atleast a default time after the previous one, which is currently at a minute.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the teiid-issues mailing list