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

Fix initial snapshot replay #2168

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Oct 22, 2024

During replay connection is reset, invalidating snapshot name. In replays we want to drop slot from failed run & use newly exported snapshot name. That means slot/snapshot name cannot end up in temporal history

Another challenge is child qrep activities are running on peerflow workers, whereas connection is maintained by session on snapshot worker. So instead of relying on maps in session memory, use catalog to share names between workers

@serprex serprex force-pushed the fix-initial-snapshot-replay branch from b57b2e6 to 2696b10 Compare October 22, 2024 03:37
@serprex serprex marked this pull request as ready for review October 22, 2024 14:29
@serprex serprex force-pushed the fix-initial-snapshot-replay branch from 2e030a7 to 1707891 Compare October 22, 2024 16:50
@serprex serprex force-pushed the fix-initial-snapshot-replay branch from 1707891 to 55b781c Compare October 22, 2024 16:51
@serprex serprex requested a review from iskakaushik October 22, 2024 16:58
serprex added a commit that referenced this pull request Oct 23, 2024
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