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

Chunling Wang commented on HAWQ-1034:
-------------------------------------

The reason why we remove these code is that removing data in table directory in 
repair mode will cause risk to lose data. So we decided to not remove data in 
table directory in repair mode, which can be replaced by force mode.

> add --repair option for hawq register
> -------------------------------------
>
>                 Key: HAWQ-1034
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1034
>             Project: Apache HAWQ
>          Issue Type: Sub-task
>          Components: Command Line Tools
>    Affects Versions: 2.0.1.0-incubating
>            Reporter: Lili Ma
>            Assignee: Chunling Wang
>             Fix For: 2.0.1.0-incubating
>
>
> add --repair option for hawq register
> Will change both file folder and catalog table pg_aoseg.pg_paqseg_$relid to 
> the state which .yml file configures. Note may some new generated files since 
> the checkpoint may be deleted here. Also note the all the files in .yml file 
> should all under the table folder on HDFS. Limitation: Do not support cases 
> for hash table redistribution, table truncate and table drop. This is for 
> scenario rollback of table: Do checkpoints somewhere, and need to rollback to 
> previous checkpoint. 



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

Reply via email to