all-things-risingwave

Where are the plan fragments generated and how are they delivered to compute nodes?

I'm trying to understand the process of generating plan fragments and delivering them to compute nodes. Can you explain where the plan fragments are generated and how they are delivered to compute nodes?

JJ

JJ

Asked on May 26, 2022

  • Plan fragments are generated by the frontend node.
  • The frontend node needs to know the computed nodes info and deliver them to compute nodes.
  • The meta node provides the computed nodes meta info, which is transported to the frontend node through a notification mechanism.
  • The observer thread registered on each frontend receives notifications asynchronously when the cluster/catalog has changed.
  • The plan fragments were originally generated by the meta node, but they were moved to the frontend node later on.
May 26, 2022Edited by