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

Refactor fault injection #20509

Merged
merged 17 commits into from
Dec 7, 2024
Merged

Conversation

Wenbin1002
Copy link
Contributor

@Wenbin1002 Wenbin1002 commented Dec 3, 2024

What type of PR is this?

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

Which issue(s) this PR fixes:

issue #20280

What this PR does / why we need it:

新增fault_inject函数,与mo_ctl平级,只有admin可以使用,语法如下:

select fault_inject('pod','method','parameter');

在原来的fault inject基础上增添了一些新特性

  • 指定CN|DN
  • 指定fault key 是否为constant
  • 更好的可读性

具体用法参考文档:
https://github.com/matrixorigin/docs/blob/main/tech-notes/dnservice/fault_injection.md

Copy link
Contributor

mergify bot commented Dec 7, 2024

This pull request has been removed from the queue for the following reason: checks failed.

The merge conditions cannot be satisfied due to failing checks:

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.

If you want to requeue this pull request, you need to post a comment with the text: @mergifyio requeue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/refactor Code refactor size/XL Denotes a PR that changes [1000, 1999] lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.