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

State handler does not retrieve initial values when appending

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.23.0
    • sdk-py-harness
    • None

    Description

      When new values are added to a bag state, the cache handler in the Python SDK does not check whether the underlying state already has values present. Although the append operation will be sent to the backend, the cache itself will be corrupted because it returns only the newly appended values for get operations, not the values present before the append operation.

      This is a concern when restoring from a checkpoint but also when items are evicted from the cache.

      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 20m
                  1h 20m