1. 14 11月, 2013 2 次提交
  2. 13 11月, 2013 11 次提交
  3. 12 11月, 2013 8 次提交
  4. 11 11月, 2013 3 次提交
    • A
      Sentinel: remove code not useful in the new design. · 9e1b27d4
      antirez 提交于
      9e1b27d4
    • A
      Sentinel: epoch introduced. · b93b0adc
      antirez 提交于
      Sentinel state now includes the idea of current epoch and config epoch.
      In the Hello message, that is now published both on masters and slaves,
      a Sentinel no longer just advertises itself but also broadcasts its
      current view of the configuration: the master name / ip / port and its
      current epoch.
      
      Sentinels receiving such information switch to the new master if the
      configuration epoch received is newer and the ip / port of the master
      are indeed different compared to the previos ones.
      b93b0adc
    • A
      Log to what master a slave is going to connect to. · b2f83439
      antirez 提交于
      b2f83439
  5. 09 11月, 2013 4 次提交
  6. 08 11月, 2013 3 次提交
  7. 07 11月, 2013 1 次提交
  8. 06 11月, 2013 7 次提交
  9. 05 11月, 2013 1 次提交
    • A
      SCAN code refactored to parse cursor first. · ebcb6251
      antirez 提交于
      The previous implementation of SCAN parsed the cursor in the generic
      function implementing SCAN, SSCAN, HSCAN and ZSCAN.
      
      The actual higher-level command implementation only checked for empty
      keys and return ASAP in that case. The result was that inverting the
      arguments of, for instance, SSCAN for example and write:
      
          SSCAN 0 key
      
      Instead of
      
          SSCAN key 0
      
      Resulted into no error, since 0 is a non-existing key name very likely.
      Just the iterator returned no elements at all.
      
      In order to fix this issue the code was refactored to extract the
      function to parse the cursor and return the error. Every higher level
      command implementation now parses the cursor and later checks if the key
      exist or not.
      ebcb6251