refactor(meta): include upstream partial graph id in exchange request #24342
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
part of the downstream PR #24239.
assume that an actor belongs to a fixed partial graph, and modify the local barrier worker state accordingly.
copilot gen
This pull request introduces support for tracking and propagating the
partial_graph_idthroughout the system, especially in actor info and fragment edge management. This change is important for distinguishing different partial graphs within a database, which can improve scalability and correctness in distributed streaming jobs. The update touches protocol buffer definitions, actor and fragment info structures, and various places where actors and fragments are constructed and referenced.The most important changes are:
Protocol and Data Model Updates
partial_graph_idto theActorInfomessage inproto/common.protoand to relevant request messages inproto/task_service.proto, allowing this information to be transmitted in RPCs. [1] [2]FragmentInfostruct andFragmentEdgeBuilderlogic to include and propagatepartial_graph_idfor each fragment, ensuring that edges and actor info are correctly associated with their partial graph. [1] [2] [3] [4]Actor and Fragment Construction
partial_graph_id, especially when scaling or rescheduling database partial graphs, and updated relevant helper functions to support this. [1] [2] [3] [4]collect_database_partial_graph_actor_upstreams. [1] [2]Fragment Edge Building and Relations
Integration and Propagation
partial_graph_idis correctly propagated through checkpoint control, command, and info modules, including during snapshot backfill and replace job scenarios. [1] [2] [3] [4] [5]These changes collectively enhance the system's ability to manage and distinguish partial graphs, which is critical for supporting scalable and reliable distributed streaming jobs.
Checklist
Documentation
Release note