You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Ming LI (JIRA)" <ji...@apache.org> on 2016/01/15 08:33:40 UTC
[jira] [Assigned] (HAWQ-50) persistent table bug while drop
tablespace concurrent
[ https://issues.apache.org/jira/browse/HAWQ-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ming LI reassigned HAWQ-50:
---------------------------
Assignee: Ming LI (was: Lirong Jian)
> 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: Ming LI
> Priority: Critical
>
> -- 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)