Open ludbek opened 3 years ago
Example of output produced by Jepsen library in EDN format:
{:type :invoke, :f :read, :process 2, :time 53137939465, :index 0}
{:type :invoke, :f :transfer, :value {:from 5, :to 2, :amount 2}, :process 3, :time 53137939133, :index 1}
{:type :invoke, :f :read, :process 1, :time 53139785248, :index 2}
{:type :invoke, :f :transfer, :value {:from 7, :to 9, :amount 4}, :process 0, :time 53139856763, :index 3}
{:type :invoke, :f :read, :process 4, :time 53155597745, :index 4}
{:type :ok, :f :read, :process 2, :time 53333814049, :value {0 10, 1 10, 2 10, 3 10, 4 10, 5 10, 6 10, 7 10, 8 10, 9 10}, :index 5}
{:type :ok, :f :read, :process 4, :time 53334577340, :value {0 10, 1 10, 2 10, 3 10, 4 10, 5 10, 6 10, 7 10, 8 10, 9 10}, :index 6}
{:type :ok, :f :read, :process 1, :time 53351790157, :value {0 10, 1 10, 2 10, 3 10, 4 10, 5 10, 6 10, 7 10, 8 10, 9 10}, :index 7}
{:type :invoke, :f :transfer, :value {:from 4, :to 7, :amount 1}, :process 4, :time 53355039356, :index 8}
{:type :invoke, :f :transfer, :value {:from 2, :to 4, :amount 3}, :process 1, :time 53356783977, :index 9}
{:type :invoke, :f :transfer, :value {:from 7, :to 9, :amount 3}, :process 2, :time 53362292402, :index 10}
{:type :ok, :f :transfer, :value {:from 5, :to 2, :amount 2}, :process 3, :time 53445973796, :index 11}
{:type :invoke, :f :read, :process 3, :time 53446789793, :index 12}
It would be helpful to include an edn file for reference purpose. That would give readers the idea of how its supposed to be used.