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

Jan Stastny (JIRA) issues at jboss.org
Fri Mar 17 08:14:00 EDT 2017


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

Jan Stastny commented on TEIID-4780:
------------------------------------

Ah, consider scenario when user doesn't set the ttl and wants to invoke SYSADMIN.loadMatView() explicitly.
Property teiid_rel:MATVIEW_TTL defaults to 2^63 milliseconds according to docs. So we're waiting eternity and a half until we mark the load as failed.
So I tried a simple workaround, setting "teiid_rel:ALLOW_MATVIEW_MANAGEMENT" 'FALSE' and  "teiid_rel:MATVIEW_TTL" 2000. This resolves the issue.

Could this be targeted directly in code? Can you on SYSADMIN.loadMatView() invocation, when ALLOW_MATVIEW_MANAGEMENT is set to false, reset the pending job automatically?

> 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