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
Set the database column type to text for 'Workflow/Experiment/Schedule' #4151
Conversation
Signed-off-by: moqimoqidea <moqimoqidea@gmail.com>
…t for 'Workflow/Experiment/Schedule' Signed-off-by: moqimoqidea <moqimoqidea@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #4151 +/- ##
=======================================
Coverage 38.55% 38.55%
=======================================
Files 167 167
Lines 13752 13752
=======================================
Hits 5302 5302
+ Misses 8017 8015 -2
- Partials 433 435 +2 see 4 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
/cherrypick release-2.6 |
@g1eny0ung: once the present PR merges, I will cherry-pick it on top of release-2.6 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
@moqimoqidea These changes make sense to me. Thanks for your contribution! @cwen0 @STRRL I'm planning to cherry-pick this fix into the |
👍 |
Now merging. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: g1eny0ung The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@g1eny0ung: #4151 failed to apply on top of branch "release-2.6":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
…e' (chaos-mesh#4151) * Set the database column type to text for 'Workflow/Experiment/Schedule' Signed-off-by: moqimoqidea <moqimoqidea@gmail.com> * Update CHANGELOG.md with content: Set the database column type to text for 'Workflow/Experiment/Schedule' Signed-off-by: moqimoqidea <moqimoqidea@gmail.com> * Update CHANGELOG.md Signed-off-by: Yue Yang <g1enyy0ung@gmail.com> --------- Signed-off-by: moqimoqidea <moqimoqidea@gmail.com> Signed-off-by: Yue Yang <g1enyy0ung@gmail.com> Co-authored-by: Yue Yang <g1enyy0ung@gmail.com>
…e' (chaos-mesh#4151) * Set the database column type to text for 'Workflow/Experiment/Schedule' Signed-off-by: moqimoqidea <moqimoqidea@gmail.com> * Update CHANGELOG.md with content: Set the database column type to text for 'Workflow/Experiment/Schedule' Signed-off-by: moqimoqidea <moqimoqidea@gmail.com> * Update CHANGELOG.md Signed-off-by: Yue Yang <g1enyy0ung@gmail.com> --------- Signed-off-by: moqimoqidea <moqimoqidea@gmail.com> Signed-off-by: Yue Yang <g1enyy0ung@gmail.com> Co-authored-by: Yue Yang <g1enyy0ung@gmail.com> Signed-off-by: Kenneth Buck <kenneth.buck@form3.tech>
…e' (chaos-mesh#4151) * Set the database column type to text for 'Workflow/Experiment/Schedule' Signed-off-by: moqimoqidea <moqimoqidea@gmail.com> * Update CHANGELOG.md with content: Set the database column type to text for 'Workflow/Experiment/Schedule' Signed-off-by: moqimoqidea <moqimoqidea@gmail.com> * Update CHANGELOG.md Signed-off-by: Yue Yang <g1enyy0ung@gmail.com> --------- Signed-off-by: moqimoqidea <moqimoqidea@gmail.com> Signed-off-by: Yue Yang <g1enyy0ung@gmail.com> Co-authored-by: Yue Yang <g1enyy0ung@gmail.com> Signed-off-by: Kenneth Buck <kenneth.buck@form3.tech>
…e' (chaos-mesh#4151) * Set the database column type to text for 'Workflow/Experiment/Schedule' Signed-off-by: moqimoqidea <moqimoqidea@gmail.com> * Update CHANGELOG.md with content: Set the database column type to text for 'Workflow/Experiment/Schedule' Signed-off-by: moqimoqidea <moqimoqidea@gmail.com> * Update CHANGELOG.md Signed-off-by: Yue Yang <g1enyy0ung@gmail.com> --------- Signed-off-by: moqimoqidea <moqimoqidea@gmail.com> Signed-off-by: Yue Yang <g1enyy0ung@gmail.com> Co-authored-by: Yue Yang <g1enyy0ung@gmail.com>
What problem does this PR solve?
The DB of chaos dashboard restricts the length of these three fields to normal varchar. This can easily lead to storage failure due to data being too long, logs show:
notes: no
Schedule Data too long
log, I haven't used Schedule heavily yet, but according to the storage structure, I predict we will encounter the same problem in the future.What's changed and how it works?
Set the database column type to text for 'Workflow/Experiment/Schedule'
Checklist
CHANGELOG
CHANGELOG.md
Tests
Side effects
DCO
If you find the DCO check fails, please run commands like below (Depends on the actual situations. For example, if the failed commit isn't the most recent) to fix it: