1. 19 11月, 2019 16 次提交
  2. 18 11月, 2019 3 次提交
  3. 15 11月, 2019 3 次提交
  4. 14 11月, 2019 4 次提交
  5. 13 11月, 2019 1 次提交
    • G
      XADD with ID 0-0 stores an empty key · 4a12047c
      Guy Benoish 提交于
      Calling XADD with 0-0 or 0 would result in creating an
      empty key and storing it in the database.
      Even worse, because XADD will reply with error the action
      will not be replicated, creating a master-replica
      inconsistency
      4a12047c
  6. 11 11月, 2019 2 次提交
    • O
      Add RM_ScanKey to scan hash, set, zset, changes to RM_Scan API · 0f8692b4
      Oran Agra 提交于
      - Adding RM_ScanKey
      - Adding tests for RM_ScanKey
      - Refactoring RM_Scan API
      
      Changes in RM_Scan
      - cleanup in docs and coding convention
      - Moving out of experimantal Api
      - Adding ctx to scan callback
      - Dont use cursor of -1 as an indication of done (can be a valid cursor)
      - Set errno when returning 0 for various reasons
      - Rename Cursor to ScanCursor
      - Test filters key that are not strings, and opens a key if NULL
      0f8692b4
    • M
      Added scan implementation to module api. · 11c6ce81
      meir@redislabs.com 提交于
      The implementation expose the following new functions:
      1. RedisModule_CursorCreate - allow to create a new cursor object for
      keys scanning
      2. RedisModule_CursorRestart - restart an existing cursor to restart the
      scan
      3. RedisModule_CursorDestroy - destroy an existing cursor
      4. RedisModule_Scan - scan keys
      
      The RedisModule_Scan function gets a cursor object, a callback and void*
      (used as user private data).
      The callback will be called for each key in the database proving the key
      name and the value as RedisModuleKey.
      11c6ce81
  7. 08 11月, 2019 1 次提交
  8. 07 11月, 2019 1 次提交
  9. 06 11月, 2019 1 次提交
    • A
      Update PR #6537: use a fresh time outside call(). · 8b2c0f90
      antirez 提交于
      One problem with the solution proposed so far in #6537 is that key
      lookups outside a command execution via call(), still used a cached
      time. The cached time needed to be refreshed in multiple places,
      especially because of modules callbacks from timers, cluster bus, and
      thread safe contexts, that may use RM_Open().
      
      In order to avoid this problem, this commit introduces the ability to
      detect if we are inside call(): this way we can use the reference fixed
      time only when we are in the context of a command execution or Lua
      script, but for the asynchronous lookups, we can still use mstime() to
      get a fresh time reference.
      8b2c0f90
  10. 05 11月, 2019 7 次提交
  11. 04 11月, 2019 1 次提交