1. 23 Apr, 2018 3 commits
  2. 19 Apr, 2018 2 commits
  3. 18 Apr, 2018 1 commit
  4. 17 Apr, 2018 2 commits
  5. 13 Apr, 2018 3 commits
  6. 12 Apr, 2018 2 commits
  7. 11 Apr, 2018 3 commits
  8. 09 Apr, 2018 5 commits
  9. 05 Apr, 2018 1 commit
  10. 01 Apr, 2018 2 commits
  11. 31 Mar, 2018 3 commits
  12. 30 Mar, 2018 10 commits
  13. 29 Mar, 2018 1 commit
  14. 28 Mar, 2018 1 commit
    • antirez's avatar
      Fix ae.c when a timer finalizerProc adds an event. · 8ac7af1c
      antirez authored
      While this feature is not used by Redis, ae.c implements the ability for
      a timer to call a finalizer callback when an timer event is deleted.
      This feature was bugged since the start, and because it was never used
      we never noticed a problem. However Anthony LaTorre was using the same
      library in order to implement a different system: he found a bug that he
      describes as follows, and which he fixed with the patch in this commit,
      sent me by private email:
      
          --- Anthony email ---
      
      've found one bug in the current implementation of the timed events.
      It's possible to lose track of a timed event if an event is added in
      the finalizerProc of another event.
      
      For example, suppose you start off with three timed events 1, 2, and
      3. Then the linked list looks like:
      
      3 -> 2 -> 1
      
      Then, you run processTimeEvents and events 2 and 3 finish, so now the
      list looks like:
      
      -1 -> -1 -> 2
      
      Now, on the next iteration of processTimeEvents it starts by deleting
      the first event, an...
      8ac7af1c
  15. 25 Mar, 2018 1 commit
    • antirez's avatar
      AOF: enable RDB-preamble rewriting by default. · 28d28ef3
      antirez authored
      There are too many advantages in doing this, RDB is faster to persist,
      more compact, much faster to load back. The main issues here are that
      the code is less tested because this was not the old default (so we are
      enabling it for the new 5.0 release), and that the AOF is no longer a
      trivially parsable format from now on. However the non-preamble mode
      will be supported in the future as well, if new data types will be
      added.
      28d28ef3