[teiid-issues] [JBoss JIRA] (TEIID-4780) Clone TEIID-4734 (Backwards compatible solution)

Ramesh Reddy (JIRA) issues at jboss.org
Fri Mar 17 07:49:00 EDT 2017


    [ https://issues.jboss.org/browse/TEIID-4780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13380244#comment-13380244 ] 

Ramesh Reddy commented on TEIID-4780:
-------------------------------------

The way I fixed may be not optimal, as code reads like

{code}
if (elapsed > ttl*1.5) {
     resetPendingJob(vdb.getVDB(), table);
} 
{code}

so that, if the situation is being carried out in clustered environment, then "LOADING" state can be result from another node actively loading the matview load. I did not wanted to kill the on-going job. Instead, I opted to wait upto 1.5 times the configured TTL, if the job is not finished then I consider it as orphaned job. 1.5 is just a arbitrary number.

In upstream there is much more comprehensive solution that spans all nodes, and does not wait, however that requires a breaking change, thus this compromise. So, see if you wait enough time, this recovers? 

> Clone TEIID-4734 (Backwards compatible solution)
> ------------------------------------------------
>
>                 Key: TEIID-4780
>                 URL: https://issues.jboss.org/browse/TEIID-4780
>             Project: Teiid
>          Issue Type: Sub-task
>          Components: Common
>    Affects Versions: 9.1.2
>            Reporter: Pedro Inácio
>            Assignee: Ramesh Reddy
>             Fix For: 9.2.1, 9.1.4, 8.12.10.6_3
>
>
> This is clone of TEIID-4734, however the solution provided through it is a breaking change. This JIRA is logged to provide a non-breaking change for released Teiid versions based on comments from TEIID-4734



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



More information about the teiid-issues mailing list