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 marked this pull request as ready for review October 22, 2024 14:29
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