frostfsid: allow empty namespaces #58
No reviewers
TrueCloudLab/storage-core-developers
TrueCloudLab/storage-services-developers
Labels
No Label
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-contract#58
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "dkirillov/frostfs-contract:feature/48-allow_empty_default_namespace"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
@ -368,0 +357,4 @@
it := storage.Find(ctx, groupPrefixFromHash(nsHash), storage.KeysOnly|storage.RemovePrefix)
for iterator.Next(it) {
groupHash := iterator.Value(it).([]byte)
data := storage.Get(ctx, groupSubjectKeyFromHashes(nsHash, groupHash, addr)).([]byte)
We get data here and override it in the
if
is this intentional?It doesn't matter. We use only
data
that we got inif
@ -743,4 +665,2 @@
storage.Put(ctx, nSubjKey, []byte{1})
gKey := groupKey(subject.Namespace, groupID)
data = storage.Get(ctx, gKey).([]byte)
Can we use
common.GetSerialized
?Do you mean create new function in
common
package?My bad, we have
SetSerialized
, thoughtGetSerialized
is there too.feature/48-allow_empty_default_namespaceto frostfsid: allow empty namespaces