[teiid-issues] [JBoss JIRA] (TEIID-4734) Under some circumstances after restart Teiid Server does not update Materialized views anymore

Ramesh Reddy (JIRA) issues at jboss.org
Mon Feb 6 14:40:00 EST 2017


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

Ramesh Reddy commented on TEIID-4734:
-------------------------------------

from [~shawkins]
bq. Without a good bit of extra work this will be a breaking change, so we'll need that called out in the release notes/docs. This will also only catch a problem when the node comes back up - but it could have been taken offline indefinitely. We could use the jgroups view to determine members who have dropped to proactively consider a load as in doubt.


How about adding a couple extra methods like
{code}
void nodeConnected(String name)
void nodeRemoved(String name)
{code}

to the {{EventListener}} interface, and hooking up to the JGroups channel for it notifying them about these events. I can then hook up additional {{Status}} table management in there.

> Under some circumstances after restart Teiid Server does not update Materialized views anymore
> ----------------------------------------------------------------------------------------------
>
>                 Key: TEIID-4734
>                 URL: https://issues.jboss.org/browse/TEIID-4734
>             Project: Teiid
>          Issue Type: Bug
>          Components: Common
>    Affects Versions: 9.1.2
>         Environment: * Wildfly 10
> * MySQL 5.6.32
> * Teiid Server 9.1.2
>            Reporter: Pedro Inácio
>            Assignee: Ramesh Reddy
>             Fix For: 9.2
>
>         Attachments: StatusTableAfterStart.csv, StatusTableAfterStop.csv
>
>
> Under some circumstances, start and stop the server several times at different points, some Materialized Views are not being updated by the server.
> It is observable that in status table some views are no longer updated. In server log are being printed lots of INFO lines.
> Waited more than 15 minutes and the server was not capable of recovering.
> See the _StatusTableAfterStop.csv_ file to observe the status table content after stopping the server.
> See the _StatusTableAfterStart.csv_ file to observe the status table content after approximately 15 minutes after restart.
> Check _server.log_  for the Teiid Server log.
> See that hundreds of lines similar to the following occur
> {panel:title=Server.log}
> 2017-01-31 13:06:34,597 INFO  [org.teiid.COMMAND_LOG] (Teiid Timer0) JfGY9cInAbrb 	START USER COMMAND:	startTime=2017-01-31 13:06:34.597	requestID=JfGY9cInAbrb.0	txID=null	sessionID=JfGY9cInAbrb	applicationName=internal	principal=embedded-async	vdbName=CountryServiceListVDB	vdbVersion=1	sql=execute SYSADMIN.matViewStatus('NumberingPlan', 'numbering_plan')
> {panel}
> The server cannot continue to load materialized views.



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



More information about the teiid-issues mailing list