mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 13:32:57 +00:00
Each postgres will use its own page cache with associated data structures. Postgres system_id is used to distinguish instances. That also means that backup should have valid system_id stashed somewhere. For now I put '42' as sys_id during S3 restore, but that ought to be fixed. Also this commit introduces new way of starting WAL receivers: postgres can initiate such connection by calling 'callmemaybe $url' command in the page_service -- that will start appropriate wal-redo and wal-receiver threads. This way page server may start without a priori knowledge of compute node addreses.
31 lines
685 B
YAML
31 lines
685 B
YAML
name: regression check
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
regression-check:
|
|
name: run regression test suite
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Install postgres dependencies
|
|
run: |
|
|
sudo apt install build-essential libreadline-dev zlib1g-dev flex bison libxml2-dev libcurl4-openssl-dev
|
|
|
|
- name: Build postgres
|
|
run: |
|
|
./pgbuild.sh
|
|
|
|
- name: Install rust
|
|
run: |
|
|
sudo apt install -y cargo
|
|
|
|
- name: Run test
|
|
run: |
|
|
cargo test --test test_pageserver -- --nocapture --test-threads=1
|