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

Container handle errors during reload context [0.10] #369

Merged
merged 3 commits into from
Oct 21, 2019

Conversation

arinwt
Copy link
Contributor

@arinwt arinwt commented Oct 18, 2019

This is in response to issue #283.
Also add await for DeltaQueue pause/resume calls in reloadContext().

Calls to reloadContext return a promise that resolves when the context is reloaded, or rejects if an error is encountered. If an error is encountered, the Container will also emit an error event.

@arinwt arinwt requested a review from vladsud October 18, 2019 23:11
@arinwt arinwt changed the title Container handle errors during reload context Container handle errors during reload context [0.10] Oct 19, 2019
Copy link
Contributor

@vladsud vladsud left a comment

Choose a reason for hiding this comment

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

:shipit:

@arinwt arinwt merged commit 8949d13 into microsoft:release/0.10 Oct 21, 2019
@arinwt arinwt deleted the reload-context-errors branch October 21, 2019 19:21
@arinwt arinwt mentioned this pull request Oct 31, 2019
arinwt pushed a commit that referenced this pull request Oct 31, 2019
* Restart summarizer when it completes and do not run new summarizer if already running (#348)

* Container handle errors during reload context [0.10] (#369)

* Handle errors during reloadContext and await pause/resume calls

* Always emit errors and reject promise on error

* Change reloadContext to reject throw error on catch

* Refactor SummaryManager [0.10] (#362)

* Change SummaryManager to state machine

* Remove shouldNotStop telemetry event

* Clean up switch statement to prevent fallthrough

* Small changes for PR feedback

* Use finally for run completion

* Summarize more frequently [0.10] (#371)

* Quorum ops count towards summarizer heuristics; summarizer handle ops while summarizing or pending

* Ignore summarizer leave messages, just in case

* Refactor summarizer code

* Add telemetry and small refactors

* Add comments; small refactor of summary op handling; track seq instead of flag
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.

None yet

2 participants