-
Notifications
You must be signed in to change notification settings - Fork 217
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
RuntimeError: unreachable when using loadDataDir #462
Comments
Hey @joehan, thanks for the report. We'll take a look at it and get back to you asap. |
@joehan can you please tell us which pglite version are you using ? thks |
@joehan This seems related to loading a dump with a |
Sorry, meant to include this in the orignal message. We are currently using 0.2.0 - however, I also tried updating to 0.2.15 and the issue was still occurring. |
Do you know specifically what triggers it? If so, we might be able to avoid that situation in the firebase-tools codebase as a immediate workaround. |
@joehan Could you please try by not specifying the |
Hi, I'm a maintainer of firebase-tools, which has a dependency on pglite. We recently added a import/export feature, where we export Postgres data using
dumpDataDir()
and then import it on future runs usingloadDataDir
when we next start up the PGlite database. Some users of this feature have reported the following error when importing data (firebase/firebase-tools#8044):This only occurs sometimes, and I'm having trouble debugging due to the opaque WASM error.
Reproduction instructions:
Using the following example postgres dump:
postgres.tar.gz
In case its relevant,
postgres.tar.gz
was originally generated via the following code:Any pointers on how to understand this error or ideas on what is wrong with the dumped TAR?
The text was updated successfully, but these errors were encountered: