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

[update] add DeleteIncompleteExperiments #928

Merged
merged 4 commits into from
Sep 21, 2020
Merged

[update] add DeleteIncompleteExperiments #928

merged 4 commits into from
Sep 21, 2020

Conversation

fewdan
Copy link
Member

@fewdan fewdan commented Sep 18, 2020

Signed-off-by: “fewdan” [email protected]

What problem does this PR solve?

#923

What is changed and how does it work?

If the chaos-dashboard was restarted and the experiment is completed during the restart, which means the experiment would never save the finish_time.
DeleteIncompleteExperiments can be used to delete all incomplete experiments to avoid this case.

Checklist

Tests

  • Unit test
  • E2E test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Breaking backward compatibility

Related changes

  • Need to update the documentation

Does this PR introduce a user-facing change?

NONE

@fewdan fewdan added needs-cherry-pick-1.0 type/bug-fix Fix for a previously reported bug. labels Sep 18, 2020
g1eny0ung
g1eny0ung previously approved these changes Sep 21, 2020
Signed-off-by: “fewdan” <[email protected]>
cwen0
cwen0 previously approved these changes Sep 21, 2020
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

ti-srebot
ti-srebot previously approved these changes Sep 21, 2020
Signed-off-by: “fewdan” <[email protected]>
@fewdan fewdan dismissed stale reviews from ti-srebot and cwen0 via ddeb608 September 21, 2020 07:19
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

Copy link
Contributor

@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

@ti-srebot
Copy link
Contributor

@WangXiangUSTC,Thanks for your review. The bot only counts LGTMs from Reviewers and higher roles, but you're still welcome to leave your comments.See the corresponding SIG page for more information. Related SIG: chaos-mesh(slack).

@fewdan
Copy link
Member Author

fewdan commented Sep 21, 2020

/merge

@ti-srebot
Copy link
Contributor

/run-all-tests

@ti-srebot ti-srebot merged commit af2d2a1 into chaos-mesh:master Sep 21, 2020
@ti-srebot
Copy link
Contributor

cherry pick to release-1.0 in PR #933

@fewdan fewdan deleted the null_exp branch September 21, 2020 09:03
cwen0 pushed a commit that referenced this pull request Sep 21, 2020
* add DeleteIncompleteExperiments

Signed-off-by: “fewdan” <[email protected]>

* address comment

Signed-off-by: “fewdan” <[email protected]>

* address comment

Signed-off-by: “fewdan” <[email protected]>

Co-authored-by: “fewdan” <[email protected]>
sjwsl pushed a commit to sjwsl/chaos-mesh that referenced this pull request May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/can-merge status/LGT2 type/bug-fix Fix for a previously reported bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants