Skip to content

Commit

Permalink
Online checkpoint replication state (#9976)
Browse files Browse the repository at this point in the history
## Problem

See https://neondb.slack.com/archives/C04DGM6SMTM/p1733180965970089

Replication state is checkpointed only by shutdown checkpoint.
It means that replication snapshots are not removed till compute
shutdown.

## Summary of changes

Checkpoint replication state during online checkpoint

Related Postgres PR:
neondatabase/postgres#546

Co-authored-by: Konstantin Knizhnik <[email protected]>
  • Loading branch information
knizhnik and Konstantin Knizhnik authored Dec 18, 2024
1 parent c52514a commit aaf980f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vendor/postgres-v17
2 changes: 1 addition & 1 deletion vendor/revisions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"v17": [
"17.2",
"65c4e46baf56ec05412c7dd63d62faff0b33dcfb"
"7e3f3974bc8895938308f94d0e96879ffae638cd"
],
"v16": [
"16.6",
Expand Down

1 comment on commit aaf980f

@github-actions
Copy link

Choose a reason for hiding this comment

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

7095 tests run: 6796 passed, 1 failed, 298 skipped (full report)


Failures on Postgres 17

# Run all failed tests locally:
scripts/pytest -vv -n $(nproc) -k "test_idle_checkpoints[debug-pg17]"
Flaky tests (6)

Postgres 17

Postgres 16

  • test_pgdata_import_smoke[8-1024-RelBlockSize.MULTIPLE_RELATION_SEGMENTS]: release-arm64

Postgres 15

  • test_pgdata_import_smoke[8-1024-RelBlockSize.MULTIPLE_RELATION_SEGMENTS]: release-arm64
  • test_pgdata_import_smoke[None-1024-RelBlockSize.MULTIPLE_RELATION_SEGMENTS]: release-arm64
  • test_physical_replication_config_mismatch_max_locks_per_transaction: release-x86-64

Postgres 14

  • test_pgdata_import_smoke[8-1024-RelBlockSize.MULTIPLE_RELATION_SEGMENTS]: release-arm64

Test coverage report is not available

The comment gets automatically updated with the latest test results
aaf980f at 2024-12-18T10:31:42.107Z :recycle:

Please sign in to comment.