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

store: add path field to StoreConfig #6938

Merged
merged 7 commits into from
Jun 3, 2022
Merged

store: add path field to StoreConfig #6938

merged 7 commits into from
Jun 3, 2022

Commits on Jun 1, 2022

  1. store: add path field to StoreConfig

    Add `path` field to StoreConfig which makes it possible to configure
    where RocksDB is located rather than hard-coding the location to
    `data` subdirectory.
    
    This helps with setup where neard home directory and the storage live
    on separate file systems.  Previously such configurations required
    using of symbolic links or mounting storage inside neard home.  Both
    of those solutions weren’t as clean as ability to point neard directly
    at the right place.
    
    This will become even more useful with planned cold storage which will
    call for all archival nodes to use multiple disks for the data (SSD
    for head data and HDD for archival data).
    
    Fixes: near#6857
    mina86 committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    80afb63 View commit details
    Browse the repository at this point in the history
  2. fmt

    mina86 committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    e9435c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    81d805c View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. review

    mina86 committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    46ddc4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71b8847 View commit details
    Browse the repository at this point in the history
  3. update changelog

    mina86 committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    5318ea0 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2022

  1. Configuration menu
    Copy the full SHA
    9f5cf70 View commit details
    Browse the repository at this point in the history