nbalajee commented on code in PR #5958:
URL: https://github.com/apache/hudi/pull/5958#discussion_r957900233


##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieCommandBlock.java:
##########
@@ -36,7 +36,7 @@ public class HoodieCommandBlock extends HoodieLogBlock {
    * Hoodie command block type enum.
    */
   public enum HoodieCommandBlockTypeEnum {
-    ROLLBACK_PREVIOUS_BLOCK
+    ROLLBACK_BLOCK

Review Comment:
   In order to preserve forward compatibility (say 0.8 generated log file, to 
be read by the latest version), we should keep ROLLBACK_PREVIOUS_BLOCK and 
introduce a new ROLLBACK_BLOCK.  Otherwise, we may run into upgrade issues 
(unable to read the older rollback block)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to