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

ledger-on-sql: Make sure the ledger picks up where it left off. #4266

Merged
merged 5 commits into from
Jan 30, 2020

Conversation

SamirTalwar
Copy link
Contributor

This means seeding the dispatcher with the correct head, rather than starting at 1 every time.

I'd like to move the test case into ParticipantStateIntegrationSpecBase, but it's going to require more thought around acquiring and releasing the participant state resource.

Closes #4223.

Pull Request Checklist

  • Read and understand the contribution guidelines
  • Include appropriate tests
  • Set a descriptive title and thorough description
  • Add a reference to the issue this PR will solve, if appropriate
  • Include changelog additions in one or more commit message bodies between the CHANGELOG_BEGIN and CHANGELOG_END tags
  • Normal production system change, include purpose of change in description

NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with /AzurePipelines run to
trigger the build.

Copy link
Contributor

@stefanobaghino-da stefanobaghino-da left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion and one observation, nothing blocking or mandatory. LGTM.

@mergify mergify bot merged commit fb58dc8 into master Jan 30, 2020
@mergify mergify bot deleted the ledger/ledger-on-sql/restart-where-we-left-off branch January 30, 2020 10:16
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.

Ensure that the Dispatcher head is correct on startup in the KV SQL Ledger
2 participants