-
Notifications
You must be signed in to change notification settings - Fork 97
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
no peer config stored in temporal state #1844
Conversation
1b6aa51
to
8c44128
Compare
640396c
to
01989fb
Compare
611f940
to
cd95157
Compare
735ef78
to
c2e4231
Compare
that'll be harder, since e2e relies on passing peer configs not in catalog
…d call instead of tests themselves
Now to actually make it work
…ds, upgrade logic
1. pause mirrors 2. upgrade to 0.14 3. resume mirrors, pause mirrors 4. upgrade to 0.15 protobuf doesn't encode default values, so can remove fields for 0.15 other deprecated fields removed as they should be out of the way with mirrors being paused
… listing mirrors. Fix drop mirror request & typing
8c0ff58
to
348758f
Compare
SELECT name, type, options | ||
FROM peers | ||
WHERE name = $1`, peerName) | ||
// TODO remove in 0.15 |
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.
don't remove, could be used for handling config changes from UI
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.
must not be called from temporal, UI endpoints must update directly, so should not be in activity code
@@ -33,14 +33,6 @@ type SnapshotFlowExecution struct { | |||
tableNameSchemaMapping map[string]*protos.TableSchema | |||
} | |||
|
|||
type cloneTablesInput struct { |
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.
why removed?
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.
Unnecessary
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.
had implemented it because getting arguments mixed around is quite possible with this call
needed before 0.14 so upgrade protocol can be performed for #1844
Ideally we'd handle base64/hex instead of binary strings, but this does the bad thing faster
e82e66e
to
6b4072d
Compare
66a5310
to
d4c020b
Compare
Also api uses peer names more too instead of passing configs around
This will need two version bumps to sanitize: