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

CAD-3565 split openChainDB #3452

Merged
merged 2 commits into from
Nov 17, 2021
Merged

CAD-3565 split openChainDB #3452

merged 2 commits into from
Nov 17, 2021

Commits on Nov 17, 2021

  1. Reimplement ChainDB init to unmask exceptions

    Prior to this change, ChainDB was being initialized in an `allocate`
    call which mask exceptions, and because of this the initialization
    process was uninterruptible.
    
    This change reimplements the logic so that initialization is no longer
    masked. The ChainDB initialization now runs with a temporary resource
    registry that will ensure deallocation of resources in presence of an
    exception. Refer to the additions to the report for an explanation of
    the new structure of registries and how they are related.
    
    Co-authored-by: nfrisby <nick.frisby@iohk.io>
    jasagredo and nfrisby committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    4f4b05a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de40006 View commit details
    Browse the repository at this point in the history