[#185] Implement rpc/client for tree service #299
No reviewers
TrueCloudLab/storage-services-committers
TrueCloudLab/storage-services-developers
Labels
No labels
P0
P1
P2
P3
good first issue
pool
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#299
Loading…
Reference in a new issue
No description provided.
Delete branch "nzinkevich/frostfs-sdk-go:feat/tree_service_rpc_client"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Signed-off-by: Nikita Zinkevich n.zinkevich@yadro.com
@ -0,0 +352,4 @@
return r.body
}
return new(HealthcheckRequestBody)
Why does this method return dummy value instead
nil
?@ -0,0 +308,4 @@
type ApplyRequestBody struct {
ContainerID []byte
TreeID string
Operation *LogMove
Even this fields (not only this, but also the rest in this file) is directly accessible from this struct instance, you don't provide any getters to make the usage safe. If a client code directly uses
Operation
, then it may get big-boom if it will accessLogMove
fields when it's actuallynil
.Don't you consider to make all fields private as we do for all api-go related types? And provide
Get/Set
methods?View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.