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: graceful shutdown #3059

Merged

Conversation

zhangsoledad
Copy link
Member

@zhangsoledad zhangsoledad commented Sep 27, 2021

What problem does this PR solve?

Problem Summary: There are circular references between services, prevent terminate signal send before drop.

What is changed and how it works?

What's Changed: Introduce non-owning reference of controller does not count towards ownership.

Related changes

  • PR to update owner/repo:
  • Need to cherry-pick to the release branch

Check List

Tests

  • Unit test

Release note

Title Only: Include only the PR title in the release note.

@zhangsoledad zhangsoledad marked this pull request as ready for review September 28, 2021 13:17
@zhangsoledad zhangsoledad requested a review from a team as a code owner September 28, 2021 13:17
@quake
Copy link
Member

quake commented Oct 8, 2021

bors r=quake,driftluo,yangby-cryptape

bors bot added a commit that referenced this pull request Oct 8, 2021
3059: fix: graceful shutdown r=quake,driftluo,yangby-cryptape a=zhangsoledad

<!--
Thank you for contributing to nervosnetwork/ckb!

If you haven't already, please read [CONTRIBUTING](https://github.com/nervosnetwork/ckb/blob/develop/CONTRIBUTING.md) document.

If you're unsure about anything, just ask; somebody should be along to answer within a day or two.

PR Title Format:
1. module [, module2, module3]: what's changed
2. *: what's changed
-->

### What problem does this PR solve?

Problem Summary: There are circular references between services, prevent terminate signal send before drop.

### What is changed and how it works?

What's Changed: Introduce non-owning reference of controller does not count towards ownership.

### Related changes

- PR to update `owner/repo`:
- Need to cherry-pick to the release branch

### Check List <!--REMOVE the items that are not applicable-->

Tests <!-- At least one of them must be included. -->

- Unit test

### Release note <!-- Choose from None, Title Only and Note. Bugfixes or new features need a release note. -->

```release-note
Title Only: Include only the PR title in the release note.
```



Co-authored-by: zhangsoledad <[email protected]>
@bors
Copy link
Contributor

bors bot commented Oct 8, 2021

Build failed:

@zhangsoledad
Copy link
Member Author

zhangsoledad commented Oct 8, 2021

@quake
Copy link
Member

quake commented Oct 8, 2021

bors r=quake,driftluo,yangby-cryptape

@bors bors bot merged commit 12e70cb into nervosnetwork:develop Oct 8, 2021
@zhangsoledad zhangsoledad deleted the zhangsoledad/graceful_shutdown branch October 8, 2021 08:03
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