-
Notifications
You must be signed in to change notification settings - Fork 94
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
[framework] OnChainEvent, Metaprotocol, Bitseed #2197
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
2327c51
to
633efbb
Compare
8a16bd5
to
be4920c
Compare
be4920c
to
b589433
Compare
This big PR is ready; help review it. @yubing744 @baichuan3 @pause125 @mx819812523 https://discord.com/channels/1078938449974935592/1267769544798244935 |
//It means the subscriber is too slow to consume the event | ||
//We should update the subscriber sequence number to the tail sequence number | ||
subscriber_sequence_number = if (tail_sequence_number > subscriber_sequence_number) { | ||
tail_sequence_number |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel that it is not appropriate to jump directly to the end of the queue here, which may cause inconsistent data on the consumer side. It feels better to return an error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does the subscriber handle the error?
d3c4e38
to
f4da7ce
Compare
f4da7ce
to
263d203
Compare
Summary
copy, drop
to SimpleMap.TODO: