1. 04 Apr, 2016 1 commit
    • antirez's avatar
      Fix ae.c to avoid timers infinite loop. · 67b70a18
      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.
      67b70a18
  2. 30 Mar, 2016 2 commits
  3. 02 Feb, 2016 1 commit
  4. 13 Jan, 2016 1 commit
  5. 12 Jan, 2016 1 commit
  6. 11 Jan, 2016 4 commits
  7. 02 Jan, 2016 1 commit
  8. 18 Dec, 2015 2 commits
  9. 15 Dec, 2015 3 commits
  10. 14 Dec, 2015 1 commit
  11. 11 Dec, 2015 3 commits
    • antirez's avatar
      Cluster: redis-trib: use variadic MIGRATE. · f0b168e8
      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
      f0b168e8
    • antirez's avatar
      e7945cf8
    • daniele's avatar
      redis-trib.rb: --timeout XXXXX option added to fix and reshard commands.... · 3d254e05
      daniele authored
      redis-trib.rb: --timeout XXXXX option added to fix and reshard commands. Defaults to 15000 milliseconds
      3d254e05
  12. 14 Oct, 2015 2 commits
  13. 09 Oct, 2015 1 commit
  14. 08 Jan, 2015 2 commits
  15. 20 Dec, 2014 1 commit
  16. 29 Oct, 2014 2 commits
  17. 26 Sep, 2014 1 commit
  18. 21 Jul, 2014 1 commit
  19. 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
  20. 21 May, 2014 3 commits
  21. 12 May, 2014 3 commits
  22. 10 May, 2014 1 commit
  23. 09 May, 2014 1 commit
  24. 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