debasishg/scala-redis — pull request #36 by patriknw (2012-09-08 21:03:00+00:00)
Title: Fix issue with node selection at ring boundary

* The small problem was that it picked node counter clockwise
in the ring for all, except for crc < firstKey, where it picked firstKey
instead of lastKey
* Changed to clockwise selection and correct selection
at the boundary, i.e. crc > lastKey => firstKey
and crc < firstKey => firstKey
* Changed to TreeMap instead of the 2 separate TreeSet and Map
collections