1. 18 Sep, 2019 1 commit
  2. 31 Aug, 2019 1 commit
  3. 24 Jul, 2019 1 commit
  4. 03 Jul, 2019 1 commit
  5. 11 Feb, 2019 1 commit
    • Chris Lamb's avatar
      Don't assume the __x86_64__ pointer size to avoid warnings on x32. · d0089cf2
      Chris Lamb authored
      __x86_64__ is defined on the on the x32 architecture and the conditionals in
      debug.c therefore assume the size of (void*) etc:
      
        debug.c: In function 'getMcontextEip':
        debug.c:757:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
             return (void*) uc->uc_mcontext.gregs[16]; /* Linux 64 */
                    ^
        debug.c: In function 'logRegisters':
        debug.c:920:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
             logStackContent((void**)uc->uc_mcontext.gregs[15]);
      
      We can remedy this by checking for __ILP32__ first. See:
      
        https://wiki.debian.org/ArchitectureSpecificsMemo
      
      ... for more info.
      d0089cf2
  6. 09 Jan, 2019 7 commits
  7. 11 Dec, 2018 1 commit
  8. 07 Dec, 2018 2 commits
  9. 30 Nov, 2018 1 commit
  10. 25 Nov, 2018 2 commits
  11. 08 Nov, 2018 1 commit
  12. 09 Oct, 2018 1 commit
  13. 30 Jul, 2018 1 commit
  14. 02 Jul, 2018 1 commit
  15. 28 Jun, 2018 1 commit
  16. 18 Jun, 2018 1 commit
  17. 09 Jun, 2018 1 commit
  18. 08 Jun, 2018 1 commit
  19. 07 Jun, 2018 1 commit
  20. 02 Jun, 2018 1 commit
    • WuYunlong's avatar
      Fix DEBUG LOADAOF so that redis-server will not crash unexpectedly · 7d269d5e
      WuYunlong authored
      and will not be inconsistent after we call debug loadaof.
      Before this commit, there were 2 problems:
      
      1, When appendonly is set to no and there is not a appendonly file,
         redis-server will crash if we call DEBUG LOADAOF.
      2, When appendonly is set to no and there is a appendonly file,
         redis-server will hold different data after loading  appendonly
         file.
      7d269d5e
  21. 25 May, 2018 1 commit
  22. 29 Mar, 2018 1 commit
  23. 09 Jan, 2018 1 commit
  24. 06 Dec, 2017 1 commit
    • antirez's avatar
      Change indentation and other minor details of PR #4489. · 522760fa
      antirez authored
      The main change introduced by this commit is pretending that help
      arrays are more text than code, thus indenting them at level 0. This
      improves readability, and is an old practice when defining arrays of
      C strings describing text.
      
      Additionally a few useless return statements are removed, and the HELP
      subcommand capitalized when printed to the user.
      522760fa
  25. 04 Dec, 2017 2 commits
  26. 01 Dec, 2017 1 commit
  27. 28 Nov, 2017 2 commits
    • Itamar Haber's avatar
      Standardizes the 'help' subcommand · 59d52f7f
      Itamar Haber authored
      This adds a new `addReplyHelp` helper that's used by commands
      when returning a help text. The following commands have been
      touched: DEBUG, OBJECT, COMMAND, PUBSUB, SCRIPT and SLOWLOG.
      
      WIP
      
      Fix entry command table entry for OBJECT for HELP option.
      
      After #4472 the command may have just 2 arguments.
      
      Improve OBJECT HELP descriptions.
      
      See #4472.
      
      WIP 2
      
      WIP 3
      59d52f7f
    • Itamar Haber's avatar
      Standardizes arity handling of DEBUG · 8c7f90e9
      Itamar Haber authored
      8c7f90e9
  28. 20 Sep, 2017 1 commit
    • zhaozhao.zz's avatar
      PSYNC2: make persisiting replication info more solid · b541ccef
      zhaozhao.zz authored
      This commit is a reinforcement of commit c1c99e9f.
      
      1. Replication information can be stored when the RDB file is
      generated by a mater using server.slaveseldb when server.repl_backlog
      is not NULL, or set repl_stream_db be -1. That's safe, because
      NULL server.repl_backlog will trigger full synchronization,
      then master will send SELECT command to replicaiton stream.
      2. Only do rdbSave* when rsiptr is not NULL,
      if we do rdbSave* without rdbSaveInfo, slave will miss repl-stream-db.
      3. Save the replication informations also in the case of
      SAVE command, FLUSHALL command and DEBUG reload.
      b541ccef
  29. 06 Jul, 2017 1 commit
  30. 03 Jul, 2017 1 commit