mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-22 21:59:59 +00:00
## Problem The S3 scrubber currently lives at https://github.com/neondatabase/s3-scrubber We don't have tests that use it, and it has copies of some data structures that can get stale. ## Summary of changes - Import the s3-scrubber as `s3_scrubber/ - Replace copied_definitions/ in the scrubber with direct access to the `utils` and `pageserver` crates - Modify visibility of a few definitions in `pageserver` to allow the scrubber to use them - Update scrubber code for recent changes to `IndexPart` - Update `KNOWN_VERSIONS` for IndexPart and move the definition into index.rs so that it is easier to keep up to date As a future refinement, it would be good to pull the remote persistence types (like IndexPart) out of `pageserver` into a separate library so that the scrubber doesn't have to link against the whole pageserver, and so that it's clearer which types need to be public. Co-authored-by: Kirill Bulatov <kirill@neon.tech> Co-authored-by: Dmitry Rodionov <dmitry@neon.tech> Co-authored-by: Arpad Müller <arpad-m@users.noreply.github.com>
27 lines
344 B
Plaintext
27 lines
344 B
Plaintext
*
|
|
|
|
!rust-toolchain.toml
|
|
!Cargo.toml
|
|
!Cargo.lock
|
|
!Makefile
|
|
|
|
!.cargo/
|
|
!.config/
|
|
!control_plane/
|
|
!compute_tools/
|
|
!libs/
|
|
!pageserver/
|
|
!pgxn/
|
|
!proxy/
|
|
!safekeeper/
|
|
!s3_scrubber/
|
|
!storage_broker/
|
|
!trace/
|
|
!vendor/postgres-v14/
|
|
!vendor/postgres-v15/
|
|
!workspace_hack/
|
|
!neon_local/
|
|
!scripts/ninstall.sh
|
|
!scripts/combine_control_files.py
|
|
!vm-cgconfig.conf
|