[ 
https://issues.apache.org/jira/browse/HAWQ-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lirong Jian reassigned HAWQ-50:
-------------------------------

    Assignee: Lirong Jian  (was: Roman Shaposhnik)

> persistent table bug while drop tablespace concurrent
> -----------------------------------------------------
>
>                 Key: HAWQ-50
>                 URL: https://issues.apache.org/jira/browse/HAWQ-50
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Storage
>            Reporter: Dong Li
>            Assignee: Lirong Jian
>
> -- if your hdfs port is 9000, use localhost:9000
> create filespace  fs0 ON hdfs ('localhost:8020/fs0');
> create tablespace tsinfs0 filespace fs0;
> -- use two processes to run commanders below as orders
> Process A:
> begin transaction ISOLATION LEVEL SERIALIZABLE;
> Process B:
> begin transaction ISOLATION LEVEL SERIALIZABLE;
> Process A:
> create table tableinfs0(i int) tablespace tsinfs0;
> drop tablespace tsinfs0;
> end;
> Process B:
> end;
> select * from tableinfs0 ;
> ERROR:  Unable to find entry for tablespace OID = 20806 when forming 
> file-system path (catalog.c:127)
> drop table tableinfs0 ;
> PANIC:  Unable to find entry for tablespace OID = 20806 when getting 
> filespace directory paths (cdbpersistenttablespace.c:557)
> CONTEXT:  Dropping file-system object -- Relation Directory: 
> '20806/18411/20812'
> server closed the connection unexpectedly
>       This probably means the server terminated abnormally
>       before or while processing the request.
> The connection to the server was lost. Attempting reset: Failed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to