Tagging #2
No reviewers
Labels
No labels
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
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-qos#2
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-qos:feat/tagging"
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?
Add methods to set/get IO tag from
context.Context
andgrpc.Metadata
c208b6d71d
to9c7de1765c
9c7de1765c
to678400574e
WIP: Add taggingto Tagging@ -0,0 +2,4 @@
import "context"
type tagContextKeyType int
Using
int
/string
as a key withinContext
may cause some problems. You should introduce:You can check this out
Details:
But
tagContextKeyType
is internal asconst currentTagKey tagContextKeyType = iota
My initial concern was about whether
currentTagKey
overridescurrentTagKeyFromSomeOtherPackageWithTheSameIOTA
. I checked it on my own: it's fine, context keeps two keys. So, nevermind!👍
6683cb983f
to128933fade