Skip to content

Cleanly shut down PGlite when shutting down Data Connect - #8056

Merged
yuchenshi merged 7 commits into
masterfrom
jh-unreachable
Dec 12, 2024
Merged

yuchenshi merged 7 commits into
masterfrom
jh-unreachable

Conversation

@joehan

@joehan joehan commented Dec 12, 2024 •

Copy link
Copy Markdown
Member

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
@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