Skip to content

Conversation

@save-buffer
Copy link

No description provided.

@save-buffer save-buffer merged commit 39c51c3 into REL_15_STABLE_neon Aug 12, 2024
@save-buffer save-buffer deleted the sasha_ondemand_slot_funcs_15 branch August 12, 2024 22:20
save-buffer pushed a commit to neondatabase/neon that referenced this pull request Aug 13, 2024
## Problem
Currently we can have an issue where if someone does
`pg_logical_slot_advance`, it could fail because it doesn't have the WAL
locally.

## Summary of changes
Adds on-demand WAL download and a test to these slot funcs. Before
adding these, the test fails with
```
requested WAL segment pg_wal/000000010000000000000001 has already been removed
```
After the changes, the test passes


Relies on:
- neondatabase/postgres#466
- neondatabase/postgres#467
- neondatabase/postgres#468
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.

3 participants