diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-01-28 10:33:35 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-01-28 10:33:35 +0000 |
commit | ecfc1d6830891cbbd39c71cf9f64d2ecd8b03c7f (patch) | |
tree | 343430e8ed64e95d47581832eb147a83bd666c60 /node-admin | |
parent | 4ecf28139f846c1c16dfdc085031445ee8bb5029 (diff) |
Avoid assertion failure on aborted node startup
If a node fails to completely start up due to e.g. failures
fetching bootstrap config, it's possible for the storage component
chain to have been created but not yet completely initialized.
Attempts to gracefully abort startup will still invoke the component
`onClose()` methods, at which point the components must be able to
handle a partially initialized state. Let `ModifiedBucketChecker`
handle that its worker thread was not created when closing, as
this will happen when `onOpen()` is never called.
Diffstat (limited to 'node-admin')
0 files changed, 0 insertions, 0 deletions