1. 05 Aug, 2016 1 commit
    • rojingeorge's avatar
      Display the nodes summary once the cluster is established using redis-trib.rb · 011dc9f9
      rojingeorge authored
      Display the nodes summary once the cluster is established using
      redis-trib.rb
      After the cluster meet and join was done, when the summary was shown, it
      was giving info regarding the nodes. This fix ensures that confusion
      where the slaves were shown as masters.
      Fix would be to reset the nodes and reload the cluster information
      before checking the cluster status after creating it.
      011dc9f9
  2. 05 May, 2016 2 commits
  3. 02 May, 2016 1 commit
    • antirez's avatar
      Fix ae.c to avoid timers infinite loop. · 0b69c986
      antirez authored
      This fix was suggested by Anthony LaTorre, that provided also a good
      test case that was used to verify the fix.
      
      The problem with the old implementation is that, the time returned by
      a timer event (that is the time after it want to run again) is added
      to the event *start time*. So if the event takes, in order to run, more
      than the time it says it want to be scheduled again for running, an
      infinite loop is triggered.
      0b69c986
  4. 25 Jan, 2016 6 commits
  5. 02 Jan, 2016 1 commit
  6. 18 Dec, 2015 2 commits
  7. 17 Dec, 2015 4 commits
  8. 13 Dec, 2015 1 commit
    • antirez's avatar
      Cluster: redis-trib: use variadic MIGRATE. · 87615a81
      antirez authored
      We use the new variadic/pipelined MIGRATE for faster migration.
      Testing is not easy because to see the time it takes for a slot to be
      migrated requires a very large data set, but even with all the overhead
      of migrating multiple slots and to setup them properly, what used to
      take 4 seconds (1 million keys, 200 slots migrated) is now 1.6 which is
      a good improvement. However the improvement can be a lot larger if:
      
      1. We use large datasets where a single slot has many keys.
      2. By moving more than 10 keys per iteration, making this configurable,
         which is planned.
      
      Close #2710
      Close #2711
      87615a81
  9. 11 Dec, 2015 2 commits
  10. 15 Oct, 2015 3 commits
  11. 08 Jan, 2015 2 commits
  12. 20 Dec, 2014 1 commit
  13. 29 Oct, 2014 2 commits
  14. 26 Sep, 2014 1 commit
  15. 21 Jul, 2014 1 commit
  16. 18 Jul, 2014 1 commit
    • antirez's avatar
      redis-trib: allow to reshard in non-interactive way. · 73a809b1
      antirez authored
      The introduction of --from --to --slots --yes options allow to reshard
      from cli in an automated way from scripts. The code is ugly and needs
      refactoring as soon as we get it in RC / stable release.
      73a809b1
  17. 21 May, 2014 3 commits
  18. 12 May, 2014 3 commits
  19. 10 May, 2014 1 commit
  20. 09 May, 2014 1 commit
  21. 25 Mar, 2014 1 commit
    • antirez's avatar
      Cluster: redis-trib cluster allocation more even across nodes. · 0064b1a5
      antirez authored
      redis-trib used to allocate slots not considering fractions of nodes
      when computing the slots_per_node amount. So the fractional part was
      carried over till the end of the allocation, where the last node
      received a few more slots than any other (or a lot more if the cluster
      was composed of many nodes).
      
      The computation was changed to allocate slots more evenly when they are
      not exactly divisible for the number of masters we have.
      0064b1a5