frostfs-node/pkg
Evgenii Stratonikov 5e2fcec60f
All checks were successful
ci/woodpecker/push/pre-commit Pipeline was successful
[#396] treesvc: properly remember last height on shutdown
Previously `newHeight` was updated in parallel, so that applying
operation at height H did not imply successful TreeApply() for H-1.
And because we have no context in TreeUpdateLastSyncHeight(), invalid
starting height could be written if the context was canceled.

In this commit we return the new height only if all operations were
successfully applied.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-29 10:25:26 +00:00
..
core [#223] sg: Refactor storage group parameters 2023-04-10 14:16:34 +03:00
innerring [#223] sg: Refactor storage group parameters 2023-04-10 14:16:34 +03:00
local_object_storage [#396] pilorama: Disallow applying same operations 2023-05-29 10:25:26 +00:00
metrics [#213] metrics: Refactor object metrics 2023-04-10 09:43:24 +03:00
morph [#337] morph: Move subscription logic to subscriber 2023-05-18 11:28:50 +03:00
network [#199] putsvc: Refactor put object 2023-04-03 15:58:11 +00:00
services [#396] treesvc: properly remember last height on shutdown 2023-05-29 10:25:26 +00:00
util [#180] node: Refactor panics in unit test 2023-03-29 12:39:07 +03:00