Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Online checkpoint replication state #9976

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Online checkpoint replication state #9976

merged 1 commit into from
Dec 18, 2024

Conversation

knizhnik
Copy link
Contributor

@knizhnik knizhnik commented Dec 3, 2024

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

@knizhnik knizhnik requested a review from a team as a code owner December 3, 2024 07:25
@knizhnik knizhnik requested a review from hlinnaka December 3, 2024 07:25
Copy link

github-actions bot commented Dec 3, 2024

7084 tests run: 6787 passed, 0 failed, 297 skipped (full report)


Flaky tests (5)

Postgres 17

Postgres 15

Postgres 14

Code coverage* (full report)

  • functions: 31.4% (8399 of 26775 functions)
  • lines: 48.0% (66609 of 138627 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
4f1cbd0 at 2024-12-16T07:37:34.191Z :recycle:

@knizhnik knizhnik force-pushed the online_repl_checkpoint branch from f708a17 to 4f1cbd0 Compare December 16, 2024 06:40
Copy link
Contributor

@hlinnaka hlinnaka left a comment

Choose a reason for hiding this comment

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

Approved per discussion at neondatabase/postgres#546 (review). Let's open a separate PR for the cleanups discussed.

@knizhnik knizhnik added this pull request to the merge queue Dec 18, 2024
Merged via the queue into main with commit aaf980f Dec 18, 2024
82 checks passed
@knizhnik knizhnik deleted the online_repl_checkpoint branch December 18, 2024 09:35
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