You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Alexey Romanenko (Jira)" <ji...@apache.org> on 2021/03/26 17:06:00 UTC

[jira] [Commented] (BEAM-12054) Mutator.close() has to be moved to @FinishBundle in WriteFn and DeleteFn

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

Alexey Romanenko commented on BEAM-12054:
-----------------------------------------

I resolved it into 2.30.0 but if we re-cut 2.29.0 branch then we will need to update it.
 

> Mutator.close() has to be moved to @FinishBundle in WriteFn and DeleteFn 
> -------------------------------------------------------------------------
>
>                 Key: BEAM-12054
>                 URL: https://issues.apache.org/jira/browse/BEAM-12054
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-cassandra
>            Reporter: Alexey Romanenko
>            Assignee: Alexey Romanenko
>            Priority: P1
>             Fix For: 2.30.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Since {{writer.close()}} contains a business logic and {{@TearDown}} is not guaranteed to call, it must be moved to {{@FinishBundle}}. The same thing about {{DeleteFn}}.
> Details are here:
> https://lists.apache.org/thread.html/rfcc0df0c5d09699033662c0eb8bcc86de9cc5b4923a50da81700569d%40%3Cdev.beam.apache.org%3E



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