local_object_storage: Rename method GetLocked -> GetLocks #1555

Merged
fyrchik merged 2 commits from a-savchuk/frostfs-node:rename-get-locked into master 2024-12-11 12:31:01 +00:00
Member

Renamed to better reflect the method's purpose of returning locks for the specified object

Renamed to better reflect the method's purpose of returning locks for the specified object
a-savchuk added 2 commits 2024-12-11 12:05:09 +00:00
Renamed to better reflect the method's purpose of returning locks
for the specified object.

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
[#xx] engine: Refactor (*StorageEngine).GetLocks
Some checks failed
DCO action / DCO (pull_request) Failing after 3m12s
Vulncheck / Vulncheck (pull_request) Successful in 3m18s
Tests and linters / Run gofumpt (pull_request) Successful in 4m24s
Pre-commit hooks / Pre-commit (pull_request) Successful in 4m45s
Build / Build Components (pull_request) Successful in 5m4s
Tests and linters / gopls check (pull_request) Successful in 5m10s
Tests and linters / Tests (pull_request) Successful in 5m51s
Tests and linters / Lint (pull_request) Successful in 6m12s
Tests and linters / Staticcheck (pull_request) Successful in 6m47s
Tests and linters / Tests with -race (pull_request) Successful in 7m45s
bda4e274ba
Refactored after renaming the method to replace the confusing `locked`
variable with `locks`.

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
a-savchuk requested review from storage-core-committers 2024-12-11 12:05:10 +00:00
a-savchuk requested review from storage-core-developers 2024-12-11 12:05:10 +00:00
a-savchuk force-pushed rename-get-locked from bda4e274ba to 3821645085 2024-12-11 12:06:49 +00:00 Compare
dstepanov-yadro approved these changes 2024-12-11 12:18:36 +00:00
fyrchik approved these changes 2024-12-11 12:30:39 +00:00
fyrchik merged commit 3821645085 into master 2024-12-11 12:31:01 +00:00
a-savchuk deleted branch rename-get-locked 2024-12-11 12:31:10 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
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#1555
No description provided.