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

Add UseRdonly option to the airbyte connector #112

Merged
merged 3 commits into from
Sep 20, 2024
Merged

Conversation

Anders-PlanetScale
Copy link
Contributor

An attempt to add a Use Rdonly option to the airbyte connector. I am not a go person so someone please review.

@Anders-PlanetScale
Copy link
Contributor Author

@notfelineit any chance we can get this reviewed and merged?

@notfelineit
Copy link
Contributor

@Anders-PlanetScale sorry for the delay - I'll review today!

@@ -171,7 +171,9 @@ func (p PlanetScaleEdgeDatabase) Read(ctx context.Context, w io.Writer, ps Plane
)

tabletType := psdbconnect.TabletType_primary
if ps.UseReplica {
if ps.UseRdonly {
tabletType = psdbconnect.TabletType_batch
Copy link
Contributor

Choose a reason for hiding this comment

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

Confirmed that this will be mapped to topodatapb.TabletType_RDONLY by our edge gateway.

@notfelineit notfelineit merged commit c1ab01c into main Sep 20, 2024
3 checks passed
@notfelineit notfelineit deleted the anders-add-rdonly branch September 20, 2024 18:35
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