tree: Add ApplyBatch method #1449

Merged
fyrchik merged 2 commits from dstepanov-yadro/frostfs-node:fix/tree_sync_race into master 2024-11-12 12:11:08 +00:00

2 commits

Author SHA1 Message Date
743e960b3b
[#1449] tree: Log tree sync with Info level
All checks were successful
DCO action / DCO (pull_request) Successful in 1m39s
Tests and linters / Run gofumpt (pull_request) Successful in 1m35s
Vulncheck / Vulncheck (pull_request) Successful in 2m18s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m41s
Build / Build Components (pull_request) Successful in 2m57s
Tests and linters / Staticcheck (pull_request) Successful in 3m1s
Tests and linters / gopls check (pull_request) Successful in 3m12s
Tests and linters / Lint (pull_request) Successful in 4m32s
Tests and linters / Tests (pull_request) Successful in 6m7s
Tests and linters / Tests with -race (pull_request) Successful in 6m31s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-11-11 14:50:39 +03:00
affae4838a
[#1449] tree: Add ApplyBatch method
Concurrent Apply can lead to child node applies before parent, so
undo/redo operations will perform. This leads to performance degradation
in case of tree with many sublevels.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-11-11 14:50:38 +03:00