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

Membership auto-verify error because of delay #183

Open
jllucas opened this issue Dec 12, 2019 · 0 comments
Open

Membership auto-verify error because of delay #183

jllucas opened this issue Dec 12, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@jllucas
Copy link

jllucas commented Dec 12, 2019

Membership auto-verify performs 2 actions:

  • ask QED Log for a membership proof, which contains (among others) the version of the last event inserted.
  • ask Snapshot Store for information about this last event.

Step 2 gives the error "version not found".

This is because, in high-load scenarios, publishers have certain delay in publishing snapshots to the Snapshot store. And "membership auto-verify" operation is faster than publishers.

So we need to implement some kind of retry system in order to auto-verify proofs in high-load scenarios.

@jllucas jllucas added the bug Something isn't working label Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant