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

Add neon.logical_replication_max_logicalsnapdir_size #9467

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

tristan957
Copy link
Member

This GUC will drop replication slots if the size of the pg_logical/snapshots directory (not including temp snapshot files) becomes larger than the specified size. Keeping the size of this directory smaller will help with basebackup size from the pageserver.

Copy link

github-actions bot commented Oct 21, 2024

5382 tests run: 5162 passed, 0 failed, 220 skipped (full report)


Flaky tests (2)

Postgres 17

Code coverage* (full report)

  • functions: 31.8% (7884 of 24824 functions)
  • lines: 49.4% (62410 of 126225 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
cc1f9ce at 2024-11-12T00:11:42.540Z :recycle:

@tristan957
Copy link
Member Author

Perhaps logical_replication_max_logicalsnapdir_size should be renamed logical_replication_max_snapdir_size

@ololobus ololobus requested review from knizhnik and hlinnaka October 29, 2024 16:40
@tristan957 tristan957 force-pushed the tristan957/snap branch 2 times, most recently from 03dbad0 to 5aa0fe6 Compare October 29, 2024 20:43
Copy link
Contributor

@erikgrinaker erikgrinaker left a comment

Choose a reason for hiding this comment

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

I don't believe there's anything storage-related here, so LGTM for storage. Compute should review though.

@arssher arssher self-requested a review November 7, 2024 08:57
pgxn/neon/logical_replication_monitor.c Outdated Show resolved Hide resolved
This GUC will drop replication slots if the size of the
pg_logical/snapshots directory (not including temp snapshot files)
becomes larger than the specified size. Keeping the size of this
directory smaller will help with basebackup size from the pageserver.

Part-of: #8619
Signed-off-by: Tristan Partin <tristan@neon.tech>
@knizhnik knizhnik self-requested a review November 12, 2024 16:46
@tristan957 tristan957 merged commit 3f80af8 into main Nov 12, 2024
80 checks passed
@tristan957 tristan957 deleted the tristan957/snap branch November 12, 2024 19:13
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