frostfs-node/pkg/services/tree
Evgenii Stratonikov 5e2fcec60f [#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
..
cache.go [#355] Increase tree svc client cache size to test hypotheses 2023-05-17 15:17:35 +03:00
container.go Rename package name 2023-03-07 16:38:26 +03:00
drop.go Rename package name 2023-03-07 16:38:26 +03:00
getsubtree_test.go [#180] node: Refactor panics in unit test 2023-03-29 12:39:07 +03:00
options.go Rename package name 2023-03-07 16:38:26 +03:00
redirect.go Rename package name 2023-03-07 16:38:26 +03:00
replicator.go [#156] services/tree: Pass context to replicationWorker() 2023-03-22 07:14:18 +00:00
service.go [#266] services/tree: Do not accept requests until initial sync is finished 2023-04-18 13:30:45 +03:00
service.pb.go Rename package name 2023-03-07 16:38:26 +03:00
service.proto Rename package name 2023-03-07 16:38:26 +03:00
service_frostfs.pb.go Rename package name 2023-03-07 16:38:26 +03:00
service_grpc.pb.go [#11] Regenerate proto files 2023-01-12 08:55:47 +03:00
signature.go Rename package name 2023-03-07 16:38:26 +03:00
signature_test.go Rename package name 2023-03-07 16:38:26 +03:00
sync.go [#396] treesvc: properly remember last height on shutdown 2023-05-29 10:25:26 +00:00
types.pb.go Rename package name 2023-03-07 16:38:26 +03:00
types.proto Rename package name 2023-03-07 16:38:26 +03:00
types_frostfs.pb.go Rename package name 2023-03-07 16:38:26 +03:00