You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hashring.generateCircle() is using sort.Sort(data Interface) to sort sortedkeys, but this function is not guaranteed to be stable.
Is this a potential risk that, with some very edge cases, (for example, Hashring.AddNode or Hashring.RemoveNode is called, which invokes Hashring.generateCircle,) a range of keys will be mapped to a different node?
The text was updated successfully, but these errors were encountered:
Hashring.generateCircle()
is usingsort.Sort(data Interface)
to sortsortedkeys
, but this function is not guaranteed to be stable.Is this a potential risk that, with some very edge cases, (for example,
Hashring.AddNode
orHashring.RemoveNode
is called, which invokesHashring.generateCircle
,) a range of keys will be mapped to a different node?The text was updated successfully, but these errors were encountered: