investigate edge cases, where queried neighbour node (when joining or leaving) is own VS #80
Labels
No labels
ActivityPub
advanced features
basic functionality
bug
DHT
evaluation
refactoring
security
test case
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: schmittlauch/Hash2Pub#80
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?
When joining or leaving a vs to/from a DHT, the neighbour of the vs in question is queried for their load to calculate the load matches.
What happens if the node joining on/ the node shedding the own load onto when leaving is a vserver of the same RealNode?
Do some example calculations for
Special cases of the edge cases above: The own vs queried is the one that's departing/ relocating.
Let
X
be a neighbour node,O
an active vserver to be relocated and|
the position to be relocated to.Then the following state of the DHT can trigger an edge case:
--O---|---X--
With
O
still being joined on the DHT and investigating the future load of the still unjoined|
,X
returns the load of the slice fromO
toX
(forwards).But the load actually put onto
|
after relocating to that position is the slice fromX
to|
(forwards), so the previous query result was missing the slice fromX
toO
.circumstances triggering this edge case: