1. 10 7月, 2020 1 次提交
    • O
      stabilize tests that look for log lines (#7367) · 8e76e134
      Oran Agra 提交于
      tests were sensitive to additional log lines appearing in the log
      causing the search to come empty handed.
      
      instead of just looking for the n last log lines, capture the log lines
      before performing the action, and then search from that offset.
      8e76e134
  2. 27 5月, 2020 1 次提交
    • O
      tests: find_available_port start search from next port · 1cf33a46
      Oran Agra 提交于
      i.e. don't start the search from scratch hitting the used ones again.
      this will also reduce the likelihood of collisions (if there are any
      left) by increasing the time until we re-use a port we did use in the
      past.
      1cf33a46
  3. 26 5月, 2020 1 次提交
    • O
      tests: each test client work on a distinct port range · e258a1c0
      Oran Agra 提交于
      apparently when running tests in parallel (the default of --clients 16),
      there's a chance for two tests to use the same port.
      specifically, one test might shutdown a master and still have the
      replica up, and then another test will re-use the port number of master
      for another master, and then that replica will connect to the master of
      the other test.
      
      this can cause a master to count too many full syncs and fail a test if
      we run the tests with --single integration/psync2 --loop --stop
      
      see Probmem 2 in #7314
      e258a1c0
  4. 08 10月, 2019 1 次提交
    • Y
      TLS: Connections refactoring and TLS support. · b087dd1d
      Yossi Gottlieb 提交于
      * Introduce a connection abstraction layer for all socket operations and
      integrate it across the code base.
      * Provide an optional TLS connections implementation based on OpenSSL.
      * Pull a newer version of hiredis with TLS support.
      * Tests, redis-cli updates for TLS support.
      b087dd1d
  5. 17 7月, 2019 1 次提交
    • O
      prevent diskless replica from terminating on short read · c56b4ddc
      Oran Agra 提交于
      now that replica can read rdb directly from the socket, it should avoid exiting
      on short read and instead try to re-sync.
      
      this commit tries to have minimal effects on non-diskless rdb reading.
      and includes a test that tries to trigger this scenario on various read cases.
      c56b4ddc
  6. 08 7月, 2019 1 次提交
    • O
      diskless replication on slave side (don't store rdb to file), plus some other related fixes · 2de544cf
      Oran Agra 提交于
      The implementation of the diskless replication was currently diskless only on the master side.
      The slave side was still storing the received rdb file to the disk before loading it back in and parsing it.
      
      This commit adds two modes to load rdb directly from socket:
      1) when-empty
      2) using "swapdb"
      the third mode of using diskless slave by flushdb is risky and currently not included.
      
      other changes:
      --------------
      distinguish between aof configuration and state so that we can re-enable aof only when sync eventually
      succeeds (and not when exiting from readSyncBulkPayload after a failed attempt)
      also a CONFIG GET and INFO during rdb loading would have lied
      
      When loading rdb from the network, don't kill the server on short read (that can be a network error)
      
      Fix rdb check when performed on preamble AOF
      
      tests:
      run replication tests for diskless slave too
      make replication test a bit more aggressive
      Add test for diskless load swapdb
      2de544cf
  7. 12 11月, 2018 1 次提交
  8. 13 7月, 2018 2 次提交
  9. 05 8月, 2015 1 次提交
  10. 25 8月, 2014 1 次提交
  11. 10 7月, 2014 1 次提交
  12. 30 6月, 2014 1 次提交
  13. 18 2月, 2014 1 次提交
  14. 17 2月, 2014 1 次提交
  15. 25 6月, 2013 1 次提交
  16. 11 6月, 2012 1 次提交
  17. 03 6月, 2012 1 次提交
    • A
      EVAL replication test: less false positives. · 80e808b6
      antirez 提交于
      wait_for_condition is now used instead of the usual "after 1000" (that
      is the way to sleep in Tcl). This should avoid to find the replica in
      a state where it is loading the RDB in memory, returning -LOADING error.
      
      This test used to fail when running the test over valgrind, due to the
      added latencies.
      80e808b6
  18. 25 5月, 2012 1 次提交
  19. 22 5月, 2012 1 次提交
    • A
      Redis test: include bug report on crash. · 2bcd18a2
      antirez 提交于
      Due to a change in the format of the bug report in case of crash of
      failed assertion the test suite was no longer able to properly log it.
      Instead just a protocol error was logged by the Redis TCL client that
      provided no clue about the actual problem.
      
      This commit resolves the issue by logging everything from the first line
      of the log including the string REDIS BUG REPORT, till the end of the
      file.
      2bcd18a2
  20. 16 11月, 2011 1 次提交
  21. 10 12月, 2010 1 次提交
  22. 04 11月, 2010 1 次提交
  23. 03 8月, 2010 1 次提交
  24. 28 7月, 2010 1 次提交
  25. 27 7月, 2010 1 次提交
  26. 07 7月, 2010 1 次提交
  27. 19 5月, 2010 1 次提交
  28. 16 5月, 2010 1 次提交
  29. 15 5月, 2010 3 次提交
  30. 14 5月, 2010 2 次提交