frostfs-node/pkg/services
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
..
accounting Rename package name 2023-03-07 16:38:26 +03:00
audit [#222] auditsvc: Refactor PoR audit 2023-04-07 17:29:13 +03:00
container [#217] containersvc: Resolve containedctx linter 2023-04-05 14:38:00 +00:00
control [#135] get-object: Add tracing spans 2023-04-12 06:52:00 +00:00
netmap Rename package name 2023-03-07 16:38:26 +03:00
notificator [#135] get-object: Add tracing spans 2023-04-12 06:52:00 +00:00
object [#284] node: Use copy_number on server side 2023-04-26 10:57:34 +03:00
object_manager [#203] node: Fix double imports 2023-04-06 16:33:36 +03:00
policer [#210] policier: Refactor nodes processing 2023-04-05 14:55:52 +03:00
replicator [#135] get-object: Add tracing spans 2023-04-12 06:52:00 +00:00
reputation [#212] reputationsvc: Resolve funlen linter 2023-04-07 15:35:57 +00:00
session Rename package name 2023-03-07 16:38:26 +03:00
tree [#396] treesvc: properly remember last height on shutdown 2023-05-29 10:25:26 +00:00
util Revert "[#135] signature: Add tracing" 2023-04-12 16:57:02 +03:00