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

Refactor publish-related work to avoid races #2211

Merged
merged 5 commits into from
Aug 15, 2019

Conversation

marta-lokhova
Copy link
Contributor

Resolves #2190

@MonsieurNicolas MonsieurNicolas added this to In progress in v11.4.0 via automation Aug 9, 2019
src/work/Work.h Outdated Show resolved Hide resolved
src/catchup/CatchupWork.cpp Outdated Show resolved Hide resolved
src/catchup/CatchupWork.cpp Show resolved Hide resolved
src/historywork/GetHistoryArchiveStateWork.h Show resolved Hide resolved
src/historywork/GetHistoryArchiveStateWork.h Show resolved Hide resolved
src/history/StateSnapshot.cpp Outdated Show resolved Hide resolved
src/history/StateSnapshot.h Outdated Show resolved Hide resolved
src/historywork/PutSnapshotFilesWork.cpp Outdated Show resolved Hide resolved
src/historywork/PutFilesWork.cpp Outdated Show resolved Hide resolved
src/historywork/PutFilesWork.cpp Outdated Show resolved Hide resolved
@marta-lokhova
Copy link
Contributor Author

Ok, comments should be addressed now: currently all changes are in a separate commit, I'll squash and rebase when we're ready to land.

src/process/ProcessManagerImpl.cpp Show resolved Hide resolved
src/process/ProcessManagerImpl.cpp Show resolved Hide resolved
src/process/ProcessManagerImpl.cpp Outdated Show resolved Hide resolved
src/process/ProcessManagerImpl.cpp Outdated Show resolved Hide resolved
src/process/ProcessManagerImpl.cpp Show resolved Hide resolved
src/process/ProcessManagerImpl.cpp Outdated Show resolved Hide resolved
@MonsieurNicolas
Copy link
Contributor

Just one pending question @marta-lokhova

@MonsieurNicolas
Copy link
Contributor

r+ c056dbf

latobarita added a commit that referenced this pull request Aug 15, 2019
Refactor publish-related work to avoid races

Reviewed-by: MonsieurNicolas
@latobarita latobarita merged commit c056dbf into stellar:master Aug 15, 2019
v11.4.0 automation moved this from In progress to Done Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v11.4.0
  
Done
Development

Successfully merging this pull request may close these issues.

Publishing to multiple archives has races that may lead to corrupt archives
4 participants