Page MenuHomePhabricator

Improve shutdown process
ClosedPublic

Authored by jasonbcox on Feb 13 2019, 19:45.

Details

Summary

Backport of Core PR11006
https://github.com/bitcoin/bitcoin/pull/11006
Prevents a 2-5 second delay every time a node shuts down.

Test Plan

test_runner.py
Before change:

ALL                                     | ✓ Passed  | 579 s (accumulated)
Runtime: 312 s

After change:

ALL                                     | ✓ Passed  | 325 s (accumulated)
Runtime: 183 s

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 13 2019, 21:21

@dagurval points out, maybe we want to go straight for https://github.com/bitcoin/bitcoin/pull/14670 ... sounds like this exits uncleanly in some cases?

@dagurval points out, maybe we want to go straight for https://github.com/bitcoin/bitcoin/pull/14670 ... sounds like this exits uncleanly in some cases?

Considering this and the importance of the 0.19 release, I'd prefer to get https://reviews.bitcoinabc.org/T537 ready to land shortly after landing this diff.
Although the risk doesn't seem that high, I don't like the idea of increased flakiness impacting our ability to react to fixing issues with the initial May upgrade release.

This revision was automatically updated to reflect the committed changes.

@dagurval points out, maybe we want to go straight for https://github.com/bitcoin/bitcoin/pull/14670 ... sounds like this exits uncleanly in some cases?

Considering this and the importance of the 0.19 release, I'd prefer to get https://reviews.bitcoinabc.org/T537 ready to land shortly after landing this diff.
Although the risk doesn't seem that high, I don't like the idea of increased flakiness impacting our ability to react to fixing issues with the initial May upgrade release.

What about for this May release? :-) D5170