1. 26 Jun, 2013 8 commits
    • antirez's avatar
      New API to force propagation. · 8328d993
      antirez authored
      The old REDIS_CMD_FORCE_REPLICATION flag was removed from the
      implementation of Redis, now there is a new API to force specific
      executions of a command to be propagated to AOF / Replication link:
      
          void forceCommandPropagation(int flags);
      
      The new API is also compatible with Lua scripting, so a script that will
      execute commands that are forced to be propagated, will also be
      propagated itself accordingly even if no change to data is operated.
      
      As a side effect, this new design fixes the issue with scripts not able
      to propagate PUBLISH to slaves (issue #873).
      8328d993
    • antirez's avatar
      Allow PUBSUB NUMSUB without channels. · aeab473d
      antirez authored
      The result is an empty list but it is handy to call it programmatically.
      aeab473d
    • antirez's avatar
      PUBSUB command implemented. · a8f1474d
      antirez authored
      Currently it implements three subcommands:
      
      PUBSUB CHANNELS [<pattern>]    List channels with non-zero subscribers.
      PUBSUB NUMSUB [channel_1 ...]  List number of subscribers for channels.
      PUBSUB NUMPAT                  Return number of subscribed patterns.
      a8f1474d
    • antirez's avatar
      Fix comment typo in integration/aof.tcl. · 72d3fbea
      antirez authored
      72d3fbea
    • YAMAMOTO Takashi's avatar
      don't assume time_t == long · 3642557a
      YAMAMOTO Takashi authored
      time_t is always 64bit on recent versions of NetBSD.
      3642557a
    • YAMAMOTO Takashi's avatar
      use nanosleep instead of usleep · 30f3ae03
      YAMAMOTO Takashi authored
      SUSv3 says that:
      	The useconds argument shall be less than one million. If the value of
      	useconds is 0, then the call has no effect.
      and actually NetBSD's implementation rejects such a value with EINVAL.
      use nanosleep which has no such a limitation instead.
      30f3ae03
    • YAMAMOTO Takashi's avatar
      rename popcount to popcount_binary to avoid a conflict with NetBSD libc · f27896a1
      YAMAMOTO Takashi authored
      NetBSD-current's libc has a function named popcount.
      hiding these extensions using feature macros is not possible because
      redis uses other extensions covered by the same feature macro.
      eg. inet_aton
      f27896a1
    • YAMAMOTO Takashi's avatar
      don't define _XOPEN_SOURCE for NetBSD · 9a7b09ed
      YAMAMOTO Takashi authored
      on NetBSD, defining _XOPEN_SOURCE hides extensions
      like inet_aton, strcasecmp, etc.
      9a7b09ed
  2. 20 Jun, 2013 2 commits
  3. 19 Jun, 2013 3 commits
  4. 18 Jun, 2013 4 commits
  5. 04 Jun, 2013 1 commit
  6. 31 May, 2013 5 commits
  7. 30 May, 2013 5 commits
  8. 29 May, 2013 2 commits
  9. 28 May, 2013 1 commit
  10. 27 May, 2013 9 commits