zhouqingqing / qpmodel

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

[bug] race condition in emulated distributed execution #173 #186

Closed zhouruiapple closed 3 years ago

zhouruiapple commented 3 years ago

loop @Redistribute() 3 times in UnitTest. The @leftKeys and @rightKeys of @LogicJoin are changed in multi-thread. Above lists must be changed only once. @PhysicHashJoin issues RecreateKeyList() instead of CreateKeyList() to guarantee those keys are changed only once.