Skip to content
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

When DDL statement has been executed within a transaction, force the use of a single CN #17282

Merged
merged 5 commits into from
Jul 3, 2024

Conversation

ouyuanning
Copy link
Contributor

What type of PR is this?

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

Which issue(s) this PR fixes:

issue #14453 https://github.com/matrixorigin/MO-Cloud/issues/3649 https://github.com/matrixorigin/MO-Cloud/issues/3648

What this PR does / why we need it:

When DDL statement has been executed within a transaction, force the use of a single CN

由于1.2-dev中强制走当前CN的逻辑跟main有差异。跟倪涛请教了下
这里是对于事务内有ddl操作的时候,把compile的cnlist做了修改,只保留当前cn的节点

@matrix-meow matrix-meow added the size/M Denotes a PR that changes [100,499] lines label Jul 3, 2024
@mergify mergify bot requested a review from sukki37 July 3, 2024 01:20
@mergify mergify bot added the kind/bug Something isn't working label Jul 3, 2024
@mergify mergify bot merged commit d3986c0 into matrixorigin:1.2-dev Jul 3, 2024
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working size/M Denotes a PR that changes [100,499] lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants