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

Offsetrange tracker panics when splitting at 0.0 without claiming work

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.40.0
    • sdk-go
    • None

    Description

      Right now, if you try to call TrySplit on an offsetrange restriction with a fraction of 0.0 and without first claiming work, it sets the primary restriction to {Start, Start-1}. This causes newSplitResult to panic - https://github.com/apache/beam/blob/ff39fcb5229b15140e41a61bd09f7d590730e93a/sdks/go/pkg/beam/core/runtime/exec/sdf.go#L859

      Attachments

        Issue Links

          Activity

            People

              damccorm Danny McCormick
              damccorm Danny McCormick
              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 - 3h 20m
                  3h 20m