forked from TrueCloudLab/frostfs-node
6f243a2a76
The main problem is to distinguish the case of initial initialization and update from version 0. We can't do this at `Open`, because of `resync_metabase` flag. Thus, the following approach was taken: 1. During `Open` check whether the metabase was initialized. 2. Check for the version in `Init` or write the new one if the metabase is new. 3. Update version in `Reset`. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru> |
||
---|---|---|
.. | ||
blobovnicza | ||
blobstor | ||
engine | ||
internal/log | ||
metabase | ||
shard | ||
util | ||
writecache |