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

Ramesh Reddy (JIRA) issues at jboss.org
Sat Feb 18 11:15:00 EST 2017


Ramesh Reddy created TEIID-4778:
-----------------------------------

             Summary: 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: Bug
          Components: Server
    Affects Versions: 8.7
            Reporter: Ramesh Reddy
            Assignee: Ramesh Reddy
             Fix For: 9.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