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> |
||
---|---|---|
.. | ||
accounting | ||
audit | ||
container | ||
control | ||
netmap | ||
notificator | ||
object | ||
object_manager | ||
policer | ||
replicator | ||
reputation | ||
session | ||
tree | ||
util |