Skip to content

Conversation

jrockway
Copy link
Contributor

@jrockway jrockway commented Oct 1, 2024

This uses pg_dump to dump the database after creating the snapshot row. I have imported pg_dump binaries from the latest Debian builds of postgres. pg_dump must be newer than the running Postgres, so I have used version 17 of pg_dump (for our supported version of 13).

I have filed some separate issues to add pg_dump to the containers (easy for the pachdev one, hard for the pachd one; we might switch the release to using the pachdev containers), and to add some zombie process reaping functionality to pachd, since this is the first place where pachd will spawn a subprocess.

Tomorrow I will do some testing on MacOS and arm64 Linux. I think we can make MacOS work for running the tests, but pg_dump has to be obtained differently. Not a big deal. arm64 should work but I haven't tried it yet.

@jrockway jrockway requested a review from Zhang-Muyang October 1, 2024 23:34
Copy link

github-actions bot commented Oct 1, 2024

size-limit report 📦

Path Size
Entry 93.11 KB (0%)
Vendor XL 800.86 KB (0%)
Chunks 292.47 KB (0%)
Everything 1.16 MB (0%)

Copy link

codecov bot commented Oct 2, 2024

Codecov Report

Attention: Patch coverage is 77.16535% with 29 lines in your changes missing coverage. Please review.

Project coverage is 62.17%. Comparing base (183d04c) to head (caa422d).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/internal/recovery/recovery.go 73.49% 22 Missing ⚠️
src/internal/pachsql/db.go 73.91% 6 Missing ⚠️
src/internal/bazel/bazel.go 95.23% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           master   #10367    +/-   ##
========================================
  Coverage   62.17%   62.17%            
========================================
  Files        1221     1222     +1     
  Lines       87719    87846   +127     
  Branches     1820     1820            
========================================
+ Hits        54537    54619    +82     
- Misses      32348    32391    +43     
- Partials      834      836     +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jrockway jrockway merged commit 3f5368d into master Oct 4, 2024
26 checks passed
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