matrixone icon indicating copy to clipboard operation
matrixone copied to clipboard

Refactor some logic for prepare

Open ouyuanning opened this issue 1 year ago • 2 comments

What type of PR is this?

  • [ ] API-change
  • [ ] BUG
  • [ ] Improvement
  • [ ] Documentation
  • [ ] Feature
  • [ ] Test and CI
  • [x] Code Refactoring

Which issue(s) this PR fixes:

issue #14940

What this PR does / why we need it:

Refactor some logic for prepare 1、clean pipeline的时候,如果是prepare的话,使用reset,而不是free 2、把get readers抽取出来,方便后面多次execute的时候可以继续使用

ouyuanning avatar Jul 03 '24 08:07 ouyuanning

这是目前自己分支中比较确定不会有问题的部分代码。本地测试bvt和tpcc都没问题。

还有一部分代码没有提交,那部分估计可能引起tpcc hung住。明天再约会议大家一起帮忙看看,解决了hung的问题再提交

ouyuanning avatar Jul 03 '24 08:07 ouyuanning

本地测了多轮bvt都可以100%,得查一下看看为什么CI过不了

ouyuanning avatar Jul 03 '24 09:07 ouyuanning