Skip to content

Commit

Permalink
Allow logical_replication_max_snap_files = -1
Browse files Browse the repository at this point in the history
which disables the mechanism.
  • Loading branch information
arssher committed Aug 13, 2024
1 parent 32aa1fc commit d24f1b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pgxn/neon/neon.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ InitLogicalReplicationMonitor(void)

DefineCustomIntVariable(
"neon.logical_replication_max_snap_files",
"Maximum allowed logical replication .snap files",
"Maximum allowed logical replication .snap files. When exceeded, slots are dropped until the limit is met. -1 disables the limit.",
NULL,
&logical_replication_max_snap_files,
300, 0, INT_MAX,
300, -1, INT_MAX,
PGC_SIGHUP,
0,
NULL, NULL, NULL);
Expand Down

1 comment on commit d24f1b6

@github-actions
Copy link

Choose a reason for hiding this comment

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

2204 tests run: 2119 passed, 6 failed, 79 skipped (full report)


Failures on Postgres 14

  • test_heavy_write_workload[neon_on-github-actions-selfhosted-10-5-5]: release
  • test_layer_map[github-actions-selfhosted]: release
  • test_download_churn[github-actions-selfhosted-10-tokio-epoll-uring-30]: release
  • test_download_churn[github-actions-selfhosted-10-std-fs-30]: release
  • test_download_churn[github-actions-selfhosted-100-tokio-epoll-uring-30]: release
  • test_download_churn[github-actions-selfhosted-100-std-fs-30]: release
# Run all failed tests locally:
scripts/pytest -vv -n $(nproc) -k "test_heavy_write_workload[neon_on-release-pg14-github-actions-selfhosted-10-5-5] or test_layer_map[release-pg14-github-actions-selfhosted] or test_download_churn[release-pg14-github-actions-selfhosted-10-tokio-epoll-uring-30] or test_download_churn[release-pg14-github-actions-selfhosted-10-std-fs-30] or test_download_churn[release-pg14-github-actions-selfhosted-100-tokio-epoll-uring-30] or test_download_churn[release-pg14-github-actions-selfhosted-100-std-fs-30]"
Flaky tests (1)

Postgres 14

Code coverage* (full report)

  • functions: 32.4% (7168 of 22134 functions)
  • lines: 50.4% (57924 of 114873 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
d24f1b6 at 2024-08-13T08:44:13.206Z :recycle:

Please sign in to comment.