You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "leesf (Jira)" <ji...@apache.org> on 2019/09/25 07:26:00 UTC

[jira] [Commented] (HUDI-232) Implement sealing/unsealing for HoodieRecord class

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

leesf commented on HUDI-232:
----------------------------

How about add seal and unseal methods to HoodieRecord? Error will thrown if modify HoodieRecord after sealed. and modification is allowed after unsealed. cc [~vinoth]

> Implement sealing/unsealing for HoodieRecord class
> --------------------------------------------------
>
>                 Key: HUDI-232
>                 URL: https://issues.apache.org/jira/browse/HUDI-232
>             Project: Apache Hudi (incubating)
>          Issue Type: Bug
>          Components: Write Client
>    Affects Versions: 0.5.0
>            Reporter: Vinoth Chandar
>            Priority: Major
>
> HoodieRecord class sometimes is modified to set the record location. We can get into issues like HUDI-170 if the modification is misplaced. We need a mechanism to seal the class and unseal for modification explicity.. Try to modify in sealed state should throw an error



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