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(server): Fix db initialization in stable state #658

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

dranikpg
Copy link
Contributor

@dranikpg dranikpg commented Jan 8, 2023

Looks like last bug left for new pytest to pass🥳

If you try accessing a new database in stable state, it will fail because it doesn't exist on replica. Once the executor sees a new db for the first time, it creates it.

This looks like a very raw solution, probably we should have some execution flag inside the tx framework that will check for this on replica? But I hope this is enough for now

@dranikpg dranikpg requested review from romange and adiholden January 8, 2023 14:05
@romange romange merged commit 5750c0d into dragonflydb:main Jan 9, 2023
@dranikpg dranikpg deleted the fix-db-init-ss branch February 27, 2023 16:39
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