Skip to content

[Bug]: Protobuf build error with MapState.remove() in Dataflow Java Streaming Legacy Runner Job without Streaming Engine. #32892

@baeminbo

Description

@baeminbo

What happened?

The pipeline with MapState was tested in Dataflow Java legacy runner without Streaming Engine.

The pipeline tests "clear", "put" and "remove" with a MapState. But, the job was stuck with a protobuf error thrown in WorkItemCommitRequest build when a key is removed from the MapState. The work was retried locally but hit the error indefinitely.

I believe this is because WindmillMap.persistDirect() doesn't set any value to Value.data for a removal while it's a required field in windmill.proto. It should set an empty data to delete a value state like WindmillValue.peristDirect().

7hnv6YbEZ8PHiQD
eJzXpxvVcFXuHaG

Issue Priority

Priority: 2 (default / most bugs should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions