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

sqld: schema db and replica fixes #1750

Merged
merged 2 commits into from
Sep 19, 2024
Merged

Conversation

LucioFranco
Copy link
Contributor

This PR contains two fixes one for preventing embedded replica's from being able to sync a schema db and another that cleans up the conn.is_primary panics/errors that we had before.

@LucioFranco LucioFranco force-pushed the lucio/clean-up-schema-replica branch from 529b854 to 2a6fbe2 Compare September 19, 2024 18:20
@LucioFranco LucioFranco force-pushed the lucio/clean-up-schema-replica branch from 2a6fbe2 to 1f0c9df Compare September 19, 2024 18:35
)
.unwrap();
let conn = db.connect().unwrap();
conn.execute("select * from sqlite_master;", ())
Copy link
Contributor

Choose a reason for hiding this comment

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

this looks like exactly the same test as the one in cluster/mod no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I copied portions of it but I don't think we ran it through this path specifically?

@LucioFranco LucioFranco added this pull request to the merge queue Sep 19, 2024
Merged via the queue into main with commit 0bc1533 Sep 19, 2024
18 checks passed
@LucioFranco LucioFranco deleted the lucio/clean-up-schema-replica branch September 19, 2024 19:33
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