rpc: Fix mem leak (support) #328
No reviewers
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#328
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-sdk-go:fix/memleak_support_rc6_2"
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?
gRPC stream must be closed by
cancel
to prevent memleak.Clones #327
rpc: Fix mem leakto rpc: Fix mem leak (support)We already have
rpc: Fix mem leak
in our commit history.It says nothing (kinda like
Fix bug
, but a bit more specific).If different commits have the same message, then the message doesn't serve its purpose, it is a bad message.
Please, adjust.
The suggestion is
rpc: Cancel context after stream close
feel free to choose anything you want.bff5c1bcdf
to3264317b63
Ok, changed. But I absolutely disagree. The commit header should describe what was done, not how.