zhouqingqing / qpmodel

A Relational Optimizer and Executor
MIT License
64 stars 18 forks source link

fix race condition of shared logic plan in distributed execution #189

Closed zhouqingqing closed 3 years ago

zhouqingqing commented 3 years ago

In the real execution, we will have to serialize all information we want the receiver side to deserialize, including physic node an logic node and could be some more. So to emulate this behavior correctly, we shall not introduce lock to fix the race, but replicate what is needed.