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

Environment may be cleaned up prematurely when using environment expiration

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.21.0
    • sdk-java-core

    Description

      When environment expiration is configured, environments are removed from a cache map after some amount of time. This cache map may be accessed by multiple ExecutableStage transforms in parallel. During environment expiration there is a small time window which allows for an environment to still being used while another transform removes, dereferences, and closes the environment. This is not expected behavior.

      Attachments

        Issue Links

          Activity

            People

              mxm Maximilian Michels
              mxm Maximilian Michels
              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 - 1h 40m
                  1h 40m