1. 25 Feb, 2014 7 commits
  2. 24 Feb, 2014 7 commits
  3. 23 Feb, 2014 4 commits
  4. 22 Feb, 2014 2 commits
    • antirez's avatar
      Sentinel: IDONTKNOW error removed. · b1c13863
      antirez authored
      This error was conceived for the older version of Sentinel that worked
      via master redirection and that was not able to get configuration
      updates from other Sentinels via the Pub/Sub channel of masters or
      slaves.
      
      This reply does not make sense today, every Sentinel should reply with
      the best information it has currently. The error will make even more
      sense in the future since the plan is to allow Sentinels to update the
      configuration of other Sentinels via gossip with a direct chat without
      the prerequisite that they have at least a monitored instance in common.
      b1c13863
    • antirez's avatar
      Sentinel test: framework improved and conf-update unit added. · 8c254415
      antirez authored
      It is now possible to kill and restart sentinel or redis instances for
      more real-world testing.
      
      The 01 unit tests the capability of Sentinel to update the configuration
      of Sentinels rejoining the cluster, however the test is pretty trivial
      and more tests should be added.
      8c254415
  5. 21 Feb, 2014 2 commits
  6. 20 Feb, 2014 3 commits
  7. 19 Feb, 2014 3 commits
  8. 18 Feb, 2014 8 commits
  9. 17 Feb, 2014 4 commits
    • antirez's avatar
      Sentinel: initial testing framework. · af788b58
      antirez authored
      Nothing tested at all so far... Just the infrastructure spawning N
      Sentinels and N Redis instances that the test will use again and again.
      af788b58
    • antirez's avatar
      Test: colorstr moved to util.tcl. · 34c404e0
      antirez authored
      34c404e0
    • antirez's avatar
      Test: code to test server availability refactored. · a1dca2ef
      antirez authored
      Some inline test moved into server_is_up procedure.
      Also find_available_port was moved into util since it is going
      to be used for the Sentinel test as well.
      a1dca2ef
    • antirez's avatar
      Get absoulte config file path before processig 'dir'. · ede33fb9
      antirez authored
      The code tried to obtain the configuration file absolute path after
      processing the configuration file. However if config file was a relative
      path and a "dir" statement was processed reading the config, the absolute
      path obtained was wrong.
      
      With this fix the absolute path is obtained before processing the
      configuration while the server is still in the original directory where
      it was executed.
      ede33fb9