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

database/dump: port to using psdbproxy #760

Merged
merged 1 commit into from
Dec 6, 2023
Merged

database/dump: port to using psdbproxy #760

merged 1 commit into from
Dec 6, 2023

Conversation

mattrobenolt
Copy link
Member

@mattrobenolt mattrobenolt commented Nov 27, 2023

Depends on #759

@mattrobenolt mattrobenolt requested a review from a team as a code owner November 27, 2023 22:27
@@ -46,6 +48,8 @@ func DumpCmd(ch *cmdutil.Helper) *cobra.Command {
"", "Optionally target a specific keyspace to be dumped. Useful for sharded databases.")
cmd.PersistentFlags().StringVar(&f.localAddr, "local-addr",
"", "Local address to bind and listen for connections. By default the proxy binds to 127.0.0.1 with a random port.")
cmd.PersistentFlags().StringVar(&f.remoteAddr, "remote-addr", "",
Copy link
Member Author

Choose a reason for hiding this comment

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

Added -remote-addr like shell had. Good option to have so something like -remote-addr=us-west.connect.psdb.cloud could be used or something.

@mattrobenolt mattrobenolt force-pushed the grpcproxy branch 2 times, most recently from 6d347a7 to 0cb7d4c Compare November 28, 2023 17:17
@mattrobenolt mattrobenolt force-pushed the grpcproxy branch 2 times, most recently from 584394c to 3d284fd Compare November 29, 2023 22:24
Base automatically changed from grpcproxy to main December 6, 2023 20:45
@mattrobenolt mattrobenolt merged commit 067d436 into main Dec 6, 2023
1 check passed
@mattrobenolt mattrobenolt deleted the pscale-dump branch December 6, 2023 20:58
mattrobenolt added a commit that referenced this pull request Dec 6, 2023
As it turns out, bringing in a dependency on vitess is going to be
borderline impossible into our CLI since it completely restricts what
environments we can compile to.

Specifically, vitess has 0 support for anything Windows currently.

So this will have to come back in a reimagined way.

Revert "database/restore: port to using psdbproxy (#761)"

This reverts commit 33bb6bd.

Revert "database/dump: port to using psdbproxy (#760)"

This reverts commit 067d436.

Revert "Replace shell's proxy with new gRPC backed proxy (#759)"

This reverts commit 3884029.
mattrobenolt added a commit that referenced this pull request Dec 6, 2023
As it turns out, bringing in a dependency on vitess is going to be
borderline impossible into our CLI since it completely restricts what
environments we can compile to.

Specifically, vitess has 0 support for anything Windows currently.

So this will have to come back in a reimagined way.

Revert "database/restore: port to using psdbproxy (#761)"

This reverts commit 33bb6bd.

Revert "database/dump: port to using psdbproxy (#760)"

This reverts commit 067d436.

Revert "Replace shell's proxy with new gRPC backed proxy (#759)"

This reverts commit 3884029.
dbussink pushed a commit that referenced this pull request Dec 19, 2023
dbussink pushed a commit that referenced this pull request Jan 3, 2024
dbussink pushed a commit that referenced this pull request Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants