-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "fix Compile clear() method bug and [pick to 1.2] fix a bug that process's cancel not match to its context " #17362
Conversation
This reverts commit 2ab791a.
…s context (matrixorigin#17349)" This reverts commit 1624bf1.
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue #17358 https://github.com/matrixorigin/MO-Cloud/issues/3692 #17350
What this PR does / why we need it:
These two pr will cause :
1、the sysbench test hung
2、lots of orphan transaction during stability test on distributed mode
3、mo hung during stability test on distributed mode
PR Type
Bug fix
Description
reset
method in theCompile
class to avoid settingproc.Ctx
tonil
.newCompile
method in themessageReceiverOnServer
class to restoreproc.Ctx
assignment.New
method of theProcess
class to use the original context handling.Changes walkthrough 📝
compile.go
Revert changes to `reset` method in `Compile` class
pkg/sql/compile/compile.go
proc.Ctx
tonil
inreset
method.remoterunServer.go
Revert changes to
newCompile
method inmessageReceiverOnServer
classpkg/sql/compile/remoterunServer.go
proc.Ctx
assignment innewCompile
method.process.go
Revert context handling changes in `New` method of `Process` class
pkg/vm/process/process.go
New
method.