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

redisChaos: add cache limit #163

Merged
merged 7 commits into from
Jun 6, 2022

Conversation

FingerLeader
Copy link
Member

Signed-off-by: FingerLeader wanxfinger@gmail.com

Signed-off-by: FingerLeader <wanxfinger@gmail.com>
@ti-chi-bot
Copy link
Member

ti-chi-bot commented May 12, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • WangXiangUSTC
  • cwen0

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

Signed-off-by: FingerLeader <wanxfinger@gmail.com>
Copy link
Collaborator

@WangXiangUSTC WangXiangUSTC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: FingerLeader <wanxfinger@gmail.com>
Signed-off-by: FingerLeader <wanxfinger@gmail.com>
@@ -73,9 +108,23 @@ func (redisAttack) Recover(exp core.Experiment, env Environment) error {
}
attack := config.(*core.RedisCommand)

cli := redis.NewClient(&redis.Options{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the action is core.RedisSentinelStopAction, this logic is useless. So we should add it to option core.RedisCacheLimitAction: logic.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated!

Signed-off-by: FingerLeader <wanxfinger@gmail.com>
@cwen0
Copy link
Member

cwen0 commented Jun 6, 2022

@FingerLeader CI broken! Please fix it!

FingerLeader and others added 2 commits June 6, 2022 10:41
Signed-off-by: FingerLeader <wanxfinger@gmail.com>
Copy link
Member

@cwen0 cwen0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cwen0
Copy link
Member

cwen0 commented Jun 6, 2022

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 6dffb7c

@ti-chi-bot ti-chi-bot merged commit f1df7d3 into chaos-mesh:main Jun 6, 2022
@FingerLeader FingerLeader deleted the add-cache-limit branch June 6, 2022 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants