Add shard labels to the configuration #722
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#722
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
There are 2 options here (not mutually exclusive):
Rationale:
We already calculate REAL id for SIGHUP handling
func calculateShardID(info shard.Info) string {
I believe new id can be just the hash of this one.
Another reason to get rid of update shard ID: it is currently done in single thread for all shards, so in case bbolt db takes too long time to open (there are some setting that affect startup time after crash), node startup time may increase.