-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
VTAdmin: Support for schema migrations view/create #17134
base: main
Are you sure you want to change the base?
VTAdmin: Support for schema migrations view/create #17134
Conversation
Signed-off-by: Noble Mittal <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17134 +/- ##
==========================================
- Coverage 67.44% 67.33% -0.12%
==========================================
Files 1571 1569 -2
Lines 252197 252502 +305
==========================================
- Hits 170103 170018 -85
- Misses 82094 82484 +390 ☔ View full report in Codecov by Sentry. |
cdbf4bc
to
f27341a
Compare
Signed-off-by: Noble Mittal <[email protected]>
f27341a
to
ddc420a
Compare
This UI is only for the I will let @shlomi-noach comment on the UI requirements for a first cut. We will also need a detail screen from the list view. |
Hey there! A few comments:
So yes, let's allow free text in the DDL strategy flag. |
As discussed, I've removed the |
Signed-off-by: Noble Mittal <[email protected]>
This looks to be a misunderstanding, in #17134 (comment) I indicated that we should keep it after all? |
My bad. The plan was to create an initial PR with defaults and then add UI for the strategy options. But maybe we should just add the text box to start with, so that we do support everything and then replace them with the UI later. @beingnoble03, can you please reinstate the text box, sorry for the confusion. |
@rohit-nayak-ps no problem, feel free to lead the way. I'll set some time next week to think about what we discussed over zoom, and how the UI can take shape in the next iteration. |
Signed-off-by: Noble Mittal <[email protected]>
Signed-off-by: Noble Mittal <[email protected]>
@rohit-nayak-ps @shlomi-noach done, also increased the size of the box as mentioned. |
|
Signed-off-by: Noble Mittal <[email protected]>
Fixed.
Can this be done in follow-up PRs?
This is how it shows migrations for resharded keyspace. It shows different entries for different shards, even for the same migration. This is the format we get from
Done.
Done. |
Signed-off-by: Noble Mittal <[email protected]>
7ad0af7
to
fefdb5d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Let's should do the following in a followup:
- Show a single line for each migration, keyed with UUID. That line can show just the shards involved and a consolidated status (similar to how we show a combined Workflow status for all streams)
- Add a details page where all the shards involved along with more info like the actual query itself is shown
Description
This PR adds a screen for schema migrations list for a particular keyspace, and a screen to create schema migration request. Also includes some related API changes.
Screenshots
Related Issue(s)
Checklist
Deployment Notes