Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-12054

Mutator.close() has to be moved to @FinishBundle in WriteFn and DeleteFn

Details

    • Bug
    • Status: Resolved
    • P1
    • Resolution: Fixed
    • None
    • 2.29.0
    • io-java-cassandra
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              aromanenko Alexey Romanenko
              aromanenko Alexey Romanenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m