matrixone
matrixone copied to clipboard
Refactor some logic for prepare
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的时候可以继续使用
这是目前自己分支中比较确定不会有问题的部分代码。本地测试bvt和tpcc都没问题。
还有一部分代码没有提交,那部分估计可能引起tpcc hung住。明天再约会议大家一起帮忙看看,解决了hung的问题再提交
本地测了多轮bvt都可以100%,得查一下看看为什么CI过不了