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): Do not yield in journal if not allowed #2540

Merged
merged 5 commits into from
Feb 6, 2024
Merged

Conversation

chakaz
Copy link
Collaborator

@chakaz chakaz commented Feb 4, 2024

Addresses the second crash reported in #2500.

@adiholden
Copy link
Collaborator

This fix looks good. I would add a pytest that does replication with one command executing (f.e setex) that uses journal rewrite.
make sure that you start replication only after you start sending commands

@chakaz chakaz requested a review from adiholden February 5, 2024 11:46
await wait_available_async(c_replica)
await stream_task

# TODO: compare master and replica once we have the utility to do so.
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe at least for now check that all keys exist in master also exist in replica? with keys command

@chakaz chakaz requested a review from adiholden February 6, 2024 08:26
@chakaz chakaz merged commit bc9b214 into main Feb 6, 2024
10 checks passed
@chakaz chakaz deleted the await-shard branch February 6, 2024 10:35
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.

None yet

2 participants