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

Cleanly shut down PGlite when shutting down Data Connect #8056

Merged
merged 7 commits into from
Dec 12, 2024

Conversation

joehan
Copy link
Contributor

@joehan joehan commented Dec 12, 2024

Description

Cleanly shut down PGlite when we shut down Data Connect emulator. When not shut down cleanly, data directory files can get corrupted. Before adding persistence support, this didnt matter (since we never reused the DD), but with the addition of import/export and dataDir, this corruption was causing errors when starting up the emulator the next time.

Also, pass --debug along to PGLite so we can get detailed Postgres debug logs.

@joehan joehan requested a review from yuchenshi December 12, 2024 16:50
@yuchenshi yuchenshi enabled auto-merge (squash) December 12, 2024 19:26
@yuchenshi yuchenshi merged commit 4f50803 into master Dec 12, 2024
43 of 46 checks passed
@joehan joehan deleted the jh-unreachable branch December 12, 2024 21:34
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