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

Fix for issue 3: checkpoint overwrite race #23

Merged
merged 7 commits into from
Nov 15, 2016
Merged

Fix for issue 3: checkpoint overwrite race #23

merged 7 commits into from
Nov 15, 2016

Conversation

JamesBirdsall
Copy link
Contributor

AzureStorageCheckpointLeaseManager.java is the important change. AzureBlobLease.java adds a utility function to support the change. The rest of it is test changes.

AzureStorageCheckpointLeaseManager now caches checkpoint writes as they happen, and if the upload of a serialized lease to storage has a lower offset/sequence number than the cached value, the cached value is merged before serialization and upload.

@msftclas
Copy link

msftclas commented Nov 3, 2016

Hi @JamesBirdsall, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@SreeramGarlapati
Copy link
Contributor

:shipit:

@JamesBirdsall JamesBirdsall merged commit 2e60cd4 into master Nov 15, 2016
@jtaubensee jtaubensee modified the milestone: 0.10.0 Jan 17, 2017
SwayGom pushed a commit that referenced this pull request May 17, 2024
Fix for issue 3: checkpoint overwrite race
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.

4 participants