HomePhabricator

index: Avoid async shutdown on init error

Description

index: Avoid async shutdown on init error

Summary:
An async shutdown during init is confusing when a simple boolean return value can be used for a synchronous shutdown.

This is a backport of core#21796

Depends on D13911

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D13912

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Apr 28 2021, 12:01
PiRKCommitted on May 18 2023, 07:59
PiRKPushed on May 18 2023, 07:59
Reviewer
Restricted Project
Differential Revision
D13912: index: Avoid async shutdown on init error
Parents
rABC4873f9fe9a55: index: Improve robustness of coinstatsindex at restart
Branches
Unknown
Tags
Unknown