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

Improve behaviour on Commits and irretrievable heads #164

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

hsanjuan
Copy link
Collaborator

This makes some minor changes to improve behaviour when shutting down an
application. In this case, perhaps recently broadcasted heads become
irretrievable, or perhaps we attempt to broadcast things with a cancelled
context. So:

  • First: do not mark the datastore as dirty when a broadcasted head cannot be
    fetched.
  • Second: do not broadcast a head when the context that it was committed with is Done.

This makes some minor changes to improve behaviour when shutting down an
application. In this case, perhaps recently broadcasted heads become
irretrievable, or perhaps we attempt to broadcast things with a cancelled
context. So:

- First: do not mark the datastore as dirty when a broadcasted head cannot be
fetched.
- Second: do not broadcast a head when the context that it was committed with is Done.
@hsanjuan hsanjuan self-assigned this Jun 21, 2022
@hsanjuan hsanjuan merged commit b4879f4 into master Jun 21, 2022
@hsanjuan hsanjuan deleted the feat/improve-head-processing branch June 21, 2022 17:08
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

Successfully merging this pull request may close these issues.

1 participant