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

sivabalan narayanan updated HUDI-2422:
--------------------------------------
    Description: 
Add rollback plan and rollback requested instant

follow ups:

1. Upgrade/downgrade infra:

Need an upgrade step. If there are any inflight rollback, we need to create 
rollback.requested with rollback plan. 

downgrade:

If there is just rollback.requested, delete it and create an rollback.inflight 
for the same instant. But this meta file will not have any info on which 
instant to be rolledback (in 090). So, not sure if we can do anything much 
here. 

2. Fix all cli tools.

3. We have a class called ListingBasedRollbackRequest. With this new approach, 
we anyways need HoodieRollbackRequest to be serialized as part of RollbackPlan. 
Hence this class ListingBasedRollbackRequest as such does not help much. We can 
get rid of this. but it might involve touching few classes. Hence adding it 
here as a follow up. 

 

 

 

  was:
Add rollback plan and rollback requested instant

follow ups:

1. Upgrade/downgrade infra:

Need an upgrade step. If there are any inflight rollback, we need to create 
rollback.requested with rollback plan. 

downgrade:

If there is just rollback.requested, delete it and create an rollback.inflight 
for the same instant. But this meta file will not have any info on which 
instant to be rolledback (in 090). So, not sure if we can do anything much 
here. 

2. We have a class called ListingBasedRollbackRequest. With this new approach, 
we anyways need HoodieRollbackRequest to be serialized as part of RollbackPlan. 
Hence this class ListingBasedRollbackRequest as such does not help much. We can 
get rid of this. but it might involve touching few classes. Hence adding it 
here as a follow up. 

 

 


> Add rollback plan and rollback requested instant
> ------------------------------------------------
>
>                 Key: HUDI-2422
>                 URL: https://issues.apache.org/jira/browse/HUDI-2422
>             Project: Apache Hudi
>          Issue Type: Sub-task
>            Reporter: sivabalan narayanan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.10.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Add rollback plan and rollback requested instant
> follow ups:
> 1. Upgrade/downgrade infra:
> Need an upgrade step. If there are any inflight rollback, we need to create 
> rollback.requested with rollback plan. 
> downgrade:
> If there is just rollback.requested, delete it and create an 
> rollback.inflight for the same instant. But this meta file will not have any 
> info on which instant to be rolledback (in 090). So, not sure if we can do 
> anything much here. 
> 2. Fix all cli tools.
> 3. We have a class called ListingBasedRollbackRequest. With this new 
> approach, we anyways need HoodieRollbackRequest to be serialized as part of 
> RollbackPlan. Hence this class ListingBasedRollbackRequest as such does not 
> help much. We can get rid of this. but it might involve touching few classes. 
> Hence adding it here as a follow up. 
>  
>  
>  



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

Reply via email to