Skip to content

Fix in 5.38.0 breaks async iterators #16610

@gyzerok

Description

@gyzerok

Describe the bug

In 5.38.0 return of async iterator stops being called when breaking out of the loop. The REPL is based on a real code we have in production that got broken with the update. Mostly likely its #16521.

Reproduction

REPL

Observe logs in both 5.38.0 and 5.37.3. Newer version is missing return log.

Expected sequence should be number -> number -> number -> return -> ended.

Logs

System Info

irrelevant

Severity

blocking an upgrade

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions