Add local netmap view #1633
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1633
Loading…
Add table
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?
Network map is used to calculate containers as well as to store network endpoints and status.
It is updated once per epoch, so that containers do not change frequently.
However, network endpoints and status changes, arguably, should have lower propagation time.
The suggestion is to merge netmap snapshot with a candidates list.
Caveats:
Snapshot()
method.In my view (one might say "local" view), the changes in this task should only affect some implementation of
netmap.Source
and should not change any existing code outside ofcmd/frostfs-node
.We are going to override very small set of node parameters:
Later for node reputation status, local views may be reused. And for this case, we may consider adding new nodes to local view. But for now, it is a no-no.