Skip to content

Conversation

Bodobolero
Copy link
Contributor

to test custom storage image in local tilt setup

Problem

this is just preparing setup for hackaneon, DO NOT REVIEW

Summary of changes

  • trace the pg_version of a create timeline request

@Bodobolero Bodobolero requested a review from a team as a code owner September 8, 2024 06:40
@Bodobolero Bodobolero requested a review from VladLazar September 8, 2024 06:40
@Bodobolero Bodobolero marked this pull request as draft September 8, 2024 06:40
@Bodobolero Bodobolero removed the request for review from VladLazar September 8, 2024 06:40
Copy link

github-actions bot commented Sep 8, 2024

3857 tests run: 3742 passed, 1 failed, 114 skipped (full report)


Failures on Postgres 16

# Run all failed tests locally:
scripts/pytest -vv -n $(nproc) -k "test_timeline_copy[debug-pg16-0]"
Flaky tests (3)

Postgres 16

Postgres 15

Postgres 14

Test coverage report is not available

The comment gets automatically updated with the latest test results
e757bc9 at 2024-09-08T07:54:41.059Z :recycle:

With them pg_upgrade v15 ->v16 --check passes, if all arguments are set. See slack for more details
Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

lubennikovaav and others added 17 commits September 12, 2024 14:16
… code that runs initdb on a new brunch with a new version and tries to import it back to pageserver.

This version fails on pageserver assertion ' cannot modify relation after advancing last_record_lsn (incoming_lsn=0/14F3030, last_record_lsn=0/2225360)'

To test, create v15 tenant and try to branch using v16:
cargo neon timeline branch --tenant-id $TENANT_ID --pg-version 16 --branch-name branch_16

TODO: figure out what LSN to update
This relies on the fact that we use neon_local and uses hardcoded neon_local paths
before importing it into the timeline. It must be equal to branching LSN.
This version passes few more steps
cargo neon timeline branch --tenant-id 14719455a7fbf1d257f427377d096cc2 --pg-version 16 --branch-name branch_16
cargo neon endpoint create ep_16 --pg-version 16 --tenant-id 14719455a7fbf1d257f427377d096cc2  --branch-name branch_16
cargo neon endpoint start ep_16

and if we connect to new endpoint, the version is correct and tables are there. But data is not visible for some reason
…eline data.

This fixed xlog flush request %X/%X is not satisfied error.
See comments in the branch_timeline_impl().
@Bodobolero Bodobolero closed this Aug 13, 2025
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.

4 participants