1. 03 4月, 2021 2 次提交
    • M
      Change order independant push logic to not change behavior. · dfa33e60
      michael-grunder 提交于
      Since redisGetReplyFromReader is exposed in a header file, we probably
      shouldn't modify how it behaves in any way.  For this reason, handle the
      changed logic in an internal static helper method.
      dfa33e60
    • M
      Handle the case where an invalidation is sent second. · 6204182a
      michael-grunder 提交于
      RESP3 invalidation messages always seemed to be sent before the response
      to a given command, but it appears this is not always the case:
      
      In Redis 6.2.0RC1 Redis sends the invalidation after the HSET in the
      following sequence:
      
      ```
      hget hash field
      $5
      value
      hset hash field value
      :0
      >2
      $10
      invalidate
      *1
      $4
      hash
      ```
      
      To account for this possibility just wrap redisGetReplyFromReader in a
      loop as it is called twice in redisGetReply.
      6204182a
  2. 26 2月, 2021 20 次提交
  3. 18 2月, 2021 1 次提交
  4. 17 2月, 2021 1 次提交
  5. 27 1月, 2021 1 次提交
  6. 26 1月, 2021 1 次提交
  7. 25 1月, 2021 1 次提交
    • B
      Stack allocate dict iterators · 920128a2
      Bjorn Svensson 提交于
      Replacing the get & release functions with an initiation
      function. Simplifies the code and will make sure we
      run subscription callbacks in OOM scenarios.
      920128a2
  8. 13 12月, 2020 2 次提交
  9. 11 12月, 2020 1 次提交
  10. 16 11月, 2020 1 次提交
  11. 11 11月, 2020 1 次提交
  12. 28 10月, 2020 2 次提交
  13. 19 10月, 2020 4 次提交
  14. 18 10月, 2020 1 次提交
    • M
      Fix handling of NIL invalidation messages. · b9b9f446
      michael-grunder 提交于
      When CLIENT TRACKING is enabled, Redis will send an invalidation message
      with a NIL payload to all tracking clients after a FLUSHDB is executed.
      
      We didn't account for REDIS_REPLY_PUSH being a valid parent object to a
      NIL payload, and were failing an assertion.
      
      Additionally this commit adds a regression test for the logic.
      b9b9f446
  15. 13 10月, 2020 1 次提交