Skip to content

colexec: 'Operator.Init' should only be called once #44145

@yuzefovich

Description

@yuzefovich

I think we should modify Operator interface so that Init could be called at most once. It would have prevented a crash like #44133, but also it is beneficial from the memory allocations stand point (since we often allocate new stuff on Init).

If we do decide to modify the interface, one way to enforce that we follow it is to modify invariantsChecker to call Init multiple times on its input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupTech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions