You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Dong Li (JIRA)" <ji...@apache.org> on 2015/10/13 07:12:05 UTC

[jira] [Created] (HAWQ-50) persistent table bug while drop tablespace concurrent

Dong Li created HAWQ-50:
---------------------------

             Summary: 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: Roman Shaposhnik


-- 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)