1. 27 Oct, 2020 12 commits
    • David CARLIER's avatar
      debug.c: NetBSD build warning fix. (#7810) · e5e353c8
      David CARLIER authored
      The symbol base address is a const on this system.
      
      (cherry picked from commit eabe3eae)
      e5e353c8
    • Wang Yuan's avatar
      Remove tmp rdb file in background thread (#7762) · 0bdddd3c
      Wang Yuan authored
      We're already using bg_unlink in several places to delete the rdb file in the background,
      and avoid paying the cost of the deletion from our main thread.
      This commit uses bg_unlink to remove the temporary rdb file in the background too.
      
      However, in case we delete that rdb file just before exiting, we don't actually wait for the
      background thread or the main thread to delete it, and just let the OS clean up after us.
      i.e. we open the file, unlink it and exit with the fd still open.
      
      Furthermore, rdbRemoveTempFile can be called from a thread and was using snprintf which is
      not async-signal-safe, we now use ll2string instead.
      
      (cherry picked from commit b002d2b4)
      0bdddd3c
    • Oran Agra's avatar
      Add printf attribute and fix warnings and a minor bug (#7803) · 7bc07260
      Oran Agra authored
      The fix in error handling of rdbGenericLoadStringObject is an actual bugfix
      
      (cherry picked from commit 092cfca5)
      7bc07260
    • WuYunlong's avatar
      bio: doFastMemoryTest should try to kill io threads as well. · ea4bf91a
      WuYunlong authored
      (cherry picked from commit f8660233)
      ea4bf91a
    • WuYunlong's avatar
      bio: fix doFastMemoryTest. · 5d933226
      WuYunlong authored
      If one thread got SIGSEGV, function sigsegvHandler() would be triggered,
      it would call bioKillThreads(). But call pthread_cancel() to cancel itself
      would make it block. Also note that if SIGSEGV is caught by bio thread, it
      should kill the main thread in order to give a positive report.
      
      (cherry picked from commit 8b70cb0e)
      5d933226
    • Wen Hui's avatar
      correct OBJECT ENCODING response for stream type (#7797) · 7601ed34
      Wen Hui authored
      This commit makes stream object returning "stream" as encoding type in OBJECT ENCODING subcommand and DEBUG OBJECT command.
      
      Till now, it would return "unknown"
      
      (cherry picked from commit 6ff741b5)
      7601ed34
    • WuYunlong's avatar
      Clarify help text of tcl scripts. (#7798) · 405f041e
      WuYunlong authored
      Before this commit, following command did not show --tls option:
      ./runtest-cluster --help
      ./runtest-sentinel --help
      
      (cherry picked from commit 98c8ac0d)
      405f041e
    • Mykhailo Pylyp's avatar
      aa6b869c
    • Oran Agra's avatar
      Fix failing valgrind installation in github actions (#7792) · 00a767db
      Oran Agra authored
      These tests started failing every day on http 404 (not being able to
      install valgrind)
      
      (cherry picked from commit 78a6e5eb)
      00a767db
    • Oran Agra's avatar
      fix broken PEXPIREAT test (#7791) · 5106a144
      Oran Agra authored
      This test was nearly always failing on MacOS github actions.
      This is because of bugs in the test that caused it to nearly always run
      all 3 attempts and just look at the last one as the pass/fail creteria.
      
      i.e. the test was nearly always running all 3 attempts and still sometimes
      succeed. this is because the break condition was different than the test
      completion condition.
      
      The reason the test succeeded is because the break condition tested the
      results of all 3 tests (PSETEX/PEXPIRE/PEXPIREAT), but the success check
      at the end was only testing the result of PSETEX.
      
      The reason the PEXPIREAT test nearly always failed is because it was
      getting the current time wrong: getting the current second and loosing
      the sub-section time, so the only chance for it to succeed is if it run
      right when a certain second started.
      
      Because i now get the time from redis, adding another round trip, i
      added another 100ms to the PEXPIRE test to make it less fragile, and
      also added many more attempts.
      
      Adding many more attempts before failure to account for slow platforms,
      github actions and valgrind
      
      (cherry picked from commit ed9bfe22)
      5106a144
    • Wang Yuan's avatar
      Remove dead global variable 'lru_clock' (#7782) · 3efdbbc7
      Wang Yuan authored
      
      (cherry picked from commit 86511bbb)
      3efdbbc7
    • Oran Agra's avatar
      Squash merging 125 typo/grammar/comment/doc PRs (#7773) · 2ae7f491
      Oran Agra authored
      List of squashed commits or PRs
      ===============================
      
      commit 66801ea
      Author: hwware <wen.hui.ware@gmail.com>
      Date:   Mon Jan 13 00:54:31 2020 -0500
      
          typo fix in acl.c
      
      commit 46f55db
      Author: Itamar Haber <itamar@redislabs.com>
      Date:   Sun Sep 6 18:24:11 2020 +0300
      
          Updates a couple of comments
      
          Specifically:
      
          * RM_AutoMemory completed instead of pointing to docs
          * Updated link to custom type doc
      
      commit 61a2aa0
      Author: xindoo <xindoo@qq.com>
      Date:   Tue Sep 1 19:24:59 2020 +0800
      
          Correct errors in code comments
      
      commit a5871d1
      Author: yz1509 <pro-756@qq.com>
      Date:   Tue Sep 1 18:36:06 2020 +0800
      
          fix typos in module.c
      
      commit 41eede7
      Author: bookug <bookug@qq.com>
      Date:   Sat Aug 15 01:11:33 2020 +0800
      
          docs: fix typos in comments
      
      commit c303c84
      Author: lazy-snail <ws.niu@outlook.com>
      Date:   Fri Aug 7 11:15:44 2020 +0800
      
          fix spelling in redis.conf
      
      commit 1eb76bf
      Author: zhujian <zhujianxyz@gmail.com>...
      2ae7f491
  2. 10 Sep, 2020 28 commits