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

kafka: Fix checker worst-realtime-lag default value #580

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

enigma
Copy link
Contributor

@enigma enigma commented Sep 13, 2023

worst-realtime-lag used to give 0 as default but it's used as a map with :time and :lag keys. This change gives a default with both keys mapping to 0

Fixing that uncovers another problem in condense-error, sometimes the error values are not collections, eg with the provided test the error is {:empty-transaction-graph true}, and count can't be called on that.

See jepsen-io/maelstrom#79 for more information.

worst-realtime-lag used to give 0 as default but it's used as a map with :time and :lag keys.
This change gives a default with both keys mapping to 0.
@aphyr
Copy link
Collaborator

aphyr commented Sep 18, 2023

Excellent work, thank you!

@aphyr aphyr merged commit 2b738d6 into jepsen-io:main Sep 18, 2023
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