You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Danny McCormick (Jira)" <ji...@apache.org> on 2022/05/31 15:55:00 UTC

[jira] [Updated] (BEAM-14536) Offsetrange tracker panics when splitting at 0.0 without claiming work

     [ https://issues.apache.org/jira/browse/BEAM-14536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Danny McCormick updated BEAM-14536:
-----------------------------------
    Status: Open  (was: Triage Needed)

> Offsetrange tracker panics when splitting at 0.0 without claiming work
> ----------------------------------------------------------------------
>
>                 Key: BEAM-14536
>                 URL: https://issues.apache.org/jira/browse/BEAM-14536
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>            Reporter: Danny McCormick
>            Assignee: Danny McCormick
>            Priority: P2
>
> 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



--
This message was sent by Atlassian Jira
(v8.20.7#820007)