frostfs-node/pkg
Evgenii Stratonikov 6f243a2a76 [#1483] metabase: Store version
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>
2022-06-21 17:48:28 +03:00
..
core [#1513] Upgrade NeoFS SDK Go with changed netmap package 2022-06-17 15:53:18 +03:00
innerring [#1513] ir/settlement: Do not allocate intermediate slice of nodes 2022-06-17 15:53:18 +03:00
local_object_storage [#1483] metabase: Store version 2022-06-21 17:48:28 +03:00
metrics [#1054] neofs-node: add epoch metric 2021-12-28 15:34:20 +03:00
morph [#1513] morph/netmap: Use constant states in unit tests 2022-06-17 15:53:18 +03:00
network [#1513] Upgrade NeoFS SDK Go with changed netmap package 2022-06-17 15:53:18 +03:00
services services/control: Autogenerate stable marshalers 2022-06-20 16:52:58 +03:00
util [#1513] Upgrade NeoFS SDK Go with changed netmap package 2022-06-17 15:53:18 +03:00