Cancel tree sync on errors (support) #1625

Merged
fyrchik merged 2 commits from fyrchik/frostfs-node:tree-sync-error-suppor into support/v0.44 2025-01-31 06:36:14 +00:00
Owner

Port #1621 to support/v0.44

Port #1621 to support/v0.44
fyrchik added 2 commits 2025-01-30 12:58:57 +00:00
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
[#1621] treesvc: Cancel background sync on failure
All checks were successful
DCO action / DCO (pull_request) Successful in 31s
Tests and linters / Run gofumpt (pull_request) Successful in 40s
Vulncheck / Vulncheck (pull_request) Successful in 52s
Build / Build Components (pull_request) Successful in 1m40s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m45s
Tests and linters / Tests (pull_request) Successful in 2m13s
Tests and linters / Staticcheck (pull_request) Successful in 2m12s
Tests and linters / Lint (pull_request) Successful in 2m49s
Tests and linters / gopls check (pull_request) Successful in 3m0s
Tests and linters / Tests with -race (pull_request) Successful in 3m23s
1580188e59
If applyOperationStream() exits prematurely, other goroutines will block
on send and errgroup will never finish waiting. In this commit we also
check whether context is cancelled.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
requested reviews from storage-core-committers, storage-core-developers 2025-01-30 12:58:57 +00:00
dstepanov-yadro approved these changes 2025-01-30 14:19:33 +00:00
acid-ant approved these changes 2025-01-30 15:59:23 +00:00
fyrchik merged commit b8a3f3bbd9 into support/v0.44 2025-01-31 06:36:14 +00:00
fyrchik deleted branch tree-sync-error-suppor 2025-01-31 06:36:17 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1625
No description provided.