frostfsid: allow empty namespaces #58
No reviewers
TrueCloudLab/storage-core-developers
TrueCloudLab/storage-services-developers
Labels
No labels
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 project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-contract#58
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "dkirillov/frostfs-contract:feature/48-allow_empty_default_namespace"
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?
@ -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