Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

More snapshot fixes and optimizations #2883

Merged
merged 2 commits into from
Oct 26, 2016
Merged

More snapshot fixes and optimizations #2883

merged 2 commits into from
Oct 26, 2016

Conversation

arkpar
Copy link
Collaborator

@arkpar arkpar commented Oct 26, 2016

No description provided.

@arkpar arkpar added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Oct 26, 2016
@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. A7-looksgoodcantmerge 🙄 Pull request is reviewed well, but cannot be merged due to conflicts. and removed A0-pleasereview 🤓 Pull request needs code review. A8-looksgood 🦄 Pull request is reviewed well. labels Oct 26, 2016
@@ -497,7 +497,7 @@ impl Service {
match is_done {
true => {
try!(db.flush().map_err(::util::UtilError::SimpleString));
self.finalize_restoration(&mut *restoration)
return self.finalize_restoration(&mut *restoration);
Copy link
Contributor

Choose a reason for hiding this comment

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

explicit drop(db) might be necessary for full correctness, I believe finalize_restoration expects no db handles to be live but the cleanup for locals in feed_chunk wouldn't be done until after it completes.

@rphmeier rphmeier added A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. and removed A7-looksgoodcantmerge 🙄 Pull request is reviewed well, but cannot be merged due to conflicts. labels Oct 26, 2016
@arkpar arkpar added A0-pleasereview 🤓 Pull request needs code review. and removed A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. labels Oct 26, 2016
@rphmeier rphmeier added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Oct 26, 2016
@arkpar arkpar merged commit f024acd into master Oct 26, 2016
@gavofyork gavofyork deleted the snapshot-fix branch November 3, 2016 11:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants