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

engine: option to ignore uninited shards #2953

Merged
merged 3 commits into from
Sep 30, 2024

Commits on Sep 30, 2024

  1. engine: fix a typo

    Signed-off-by: Andrey Butusov <andrey@nspcc.io>
    End-rey committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    9c50fa8 View commit details
    Browse the repository at this point in the history
  2. engine: add flag to ignore uninited shards

    Add config bool option `storage.ignore_uninited_shards` which specifies whether
    uninited shards should be ignored. If option is set to `false`, then immediately
    fail engine's `Open`/`Init` methods on any shard failure, otherwise continue
    working.
    
    Closes #2471.
    
    Signed-off-by: Andrey Butusov <andrey@nspcc.io>
    End-rey committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    e240338 View commit details
    Browse the repository at this point in the history
  3. config/example: add flag to ignore uninited shards to node config

    Add examples of option in `.yaml`, `.json` and `.env` files. Update docs. Add
    test for this option.
    
    Signed-off-by: Andrey Butusov <andrey@nspcc.io>
    End-rey committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    ef78db2 View commit details
    Browse the repository at this point in the history