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

Support logs with holes (not monotonically increasing by 1) #179

Open
lemmy opened this issue Jan 31, 2023 · 0 comments
Open

Support logs with holes (not monotonically increasing by 1) #179

lemmy opened this issue Jan 31, 2023 · 0 comments

Comments

@lemmy
Copy link
Contributor

lemmy commented Jan 31, 2023

It's not always feasible to generate a comprehensive log that logs every event. For instance, internal events may not show up in the log if it's obtained via network capture. Currently, ShiViz rejects such logs due to the vector clock not consistently increasing by 1. Below is an example of such a log:

{"host":0,"msg":{"type":"tok","q":0,"color":"black"},"vc":{"0":1}}
{"host":0,"msg":{"type":"pl"},"vc":{"0":2}}
{"host":0,"msg":{"type":"tok","q":0,"color":"white"},"vc":{"0":3}}
# Two internal events happened
{"host":0,"msg":{"type":"tok","q":0,"color":"white"},"vc":{"0":6}}
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

No branches or pull requests

1 participant