[ 
https://issues.apache.org/jira/browse/PHOENIX-6250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270351#comment-17270351
 ] 

ASF GitHub Bot commented on PHOENIX-6250:
-----------------------------------------

yanxinyi commented on pull request #1105:
URL: https://github.com/apache/phoenix/pull/1105#issuecomment-765609590


   > @yanxinyi View's not getting deleted while parent was dropped has 
something to do with SYSTEM.TASK? Do we save some intermittent state while 
dropping view in SYSTEM.TASK?
   
   Yes. The test issued a cascade drop and then force SYSTEM.TASK to run; 
however, it might be the race condition that SYSTEM.TASK already started and 
caused race condition. Changing the running interval config to the max value 
can avoid this behavior. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


> Fix ViewMetadataIT test flapper
> -------------------------------
>
>                 Key: PHOENIX-6250
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6250
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Xinyi Yan
>            Assignee: Xinyi Yan
>            Priority: Major
>             Fix For: 5.1.0, 4.16.0
>
>         Attachments: PHOENIX-6250.4.x.v3.patch, PHOENIX-6250.master.v3.patch
>
>
> ViewMetadataIT failed multi-times at 4.x branch.
> Here is the logging:
> {code:java}
> 17:32:58  [ERROR] Tests run: 25, Failures: 1, Errors: 0, Skipped: 0, Time 
> elapsed: 353.71 s <<< FAILURE! - in org.apache.phoenix.end2end.ViewMetadataIT
> 17:32:58  [ERROR] 
> testRepeatedCreateAndDropCascadeTableWorks(org.apache.phoenix.end2end.ViewMetadataIT)
>   Time elapsed: 11.52 s  <<< FAILURE!
> 17:32:58  java.lang.AssertionError: View SCHEMA2.N000074 should have been 
> deleted when parent was dropped
> 17:32:58      at org.junit.Assert.fail(Assert.java:89)
> 17:32:58      at 
> org.apache.phoenix.end2end.ViewMetadataIT.validateViewDoesNotExist(ViewMetadataIT.java:1373)
> 17:32:58      at 
> org.apache.phoenix.end2end.ViewMetadataIT.testRepeatedCreateAndDropCascadeTableWorks(ViewMetadataIT.java:818)
> 17:32:58      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 17:32:58      at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 17:32:58      at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 17:32:58      at java.lang.reflect.Method.invoke(Method.java:498)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to