jepsen-io / jepsen

A framework for distributed systems verification, with fault injection
6.78k stars 714 forks source link

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

Closed enigma closed 1 year ago

enigma commented 1 year ago

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 https://github.com/jepsen-io/maelstrom/issues/79 for more information.

aphyr commented 1 year ago

Excellent work, thank you!