Use LockPrm and LockRes to store Lock operation parameters and results #1556

Closed
a-savchuk wants to merge 5 commits from a-savchuk:add-lock-prm into master

5 commits

Author SHA1 Message Date
fb5c4b0ad3
[#1421] engine: Use LockPrm to store Lock operation parameters
All checks were successful
DCO action / DCO (pull_request) Successful in 2m1s
Tests and linters / Run gofumpt (pull_request) Successful in 2m30s
Vulncheck / Vulncheck (pull_request) Successful in 4m1s
Build / Build Components (pull_request) Successful in 4m34s
Tests and linters / gopls check (pull_request) Successful in 4m37s
Pre-commit hooks / Pre-commit (pull_request) Successful in 5m38s
Tests and linters / Tests (pull_request) Successful in 5m40s
Tests and linters / Tests with -race (pull_request) Successful in 5m48s
Tests and linters / Staticcheck (pull_request) Successful in 5m45s
Tests and linters / Lint (pull_request) Successful in 5m57s
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-12-12 01:39:46 +03:00
edb2bc7b55
[#1421] engine/test: Add missing storage engine close
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-12-12 01:38:19 +03:00
e0f7513625
[#1421] engine/test: Add missing error check after locking object
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-12-12 01:38:18 +03:00
0c8f031080
[#1421] shard: Use LockPrm to store Lock operation parameters
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-12-12 01:38:16 +03:00
0b7860100f
[#1421] metabase: Use LockPrm to store Lock operation parameters
Refactor `Lock` method to use `LockPrm` and `LockRes` structures
to store operation parameters and results, respectively.

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-12-12 01:36:25 +03:00