edge case: responsibility for slices > 1/2 key space #48
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#48
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?
In
1204457a2a
, filtering of predecessors and successors has been introduced to enforce predecessors/ successors being smaller/ larger than the node itself.While this is generally a good idea, it creates problems when the first real predecessor node is more than half the key space size away, making the comparison returning "larger" and the predecessor not being put into the predecessor list.
Example:
Node1 = 1000
Node2 = 1003
Node3 = 1010
Node4 = 1020
with k = 2 Node1 has the successors 1003 and 1010, but no predecessors.
TODO: