forked from TrueCloudLab/frostfs-node
Evgenii Stratonikov
5e2fcec60f
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> |
||
---|---|---|
.. | ||
cache.go | ||
container.go | ||
drop.go | ||
getsubtree_test.go | ||
options.go | ||
redirect.go | ||
replicator.go | ||
service.go | ||
service.pb.go | ||
service.proto | ||
service_frostfs.pb.go | ||
service_grpc.pb.go | ||
signature.go | ||
signature_test.go | ||
sync.go | ||
types.pb.go | ||
types.proto | ||
types_frostfs.pb.go |