Skip to content
Snippets Groups Projects
  1. Feb 20, 2024
  2. Feb 14, 2024
  3. Feb 08, 2024
  4. Jun 09, 2023
  5. Jun 08, 2023
  6. May 18, 2023
  7. May 04, 2023
  8. Nov 11, 2022
  9. Sep 23, 2022
  10. Aug 23, 2022
  11. Aug 19, 2022
  12. Jul 26, 2021
  13. Jun 24, 2021
  14. May 25, 2021
  15. Mar 26, 2021
    • Nick Thomas's avatar
      Fix two data races in the branch names cache · fafb29e2
      Nick Thomas authored
      Expiry of the branch name cache could race with checking inclusion, in
      such a way that a branch may be marked as non-existent when it does in
      fact exist.
      
      This MR uses Redis transactions to atomically take the existence of the
      set at the same time as the smembers / sismembers call, so we can
      distinguish between "an empty value exists in the cache" and "the cache
      is empty".
      fafb29e2
  16. Aug 03, 2020
    • Sean McGivern's avatar
      Remove feature flag for using UNLINK in Redis · a6b6779c
      Sean McGivern authored
      UNLINK was added in Redis 4. We put this usage of it behind a feature
      flag in case there was an issue, and also added a fallback for instances
      using Redis 3.
      
      We no longer support Redis 3 and we haven't needed to disable the
      feature flag, so we can just simplify this to always use UNLINK.
      a6b6779c
  17. Jun 24, 2020
    • Sean McGivern's avatar
      Add Redis Cluster validator · efcb8544
      Sean McGivern authored and Bob Van Landuyt's avatar Bob Van Landuyt committed
      If we want to use Redis Cluster, we won't be able to use a multi-key
      command with keys that hash to different slots. For instance, a simple:
      
          MGET foo bar
      
      Won't work because 'foo' and 'bar' hash to different slots, and
      therefore could be on different shards of the cluster.
      
      This is a client-side validator to ensure that we can annotate existing
      cross-slot commands easily, as part of the data gathering for whether or
      not we use Redis Cluster.
      efcb8544
  18. Apr 07, 2020
  19. Mar 18, 2020
  20. Mar 16, 2020
    • Robert May's avatar
      No need to glob keys again · b7cff7f5
      Robert May authored and Stan Hu's avatar Stan Hu committed
      b7cff7f5
    • Robert May's avatar
      Gracefully fall back to DEL · 474ed146
      Robert May authored and Stan Hu's avatar Stan Hu committed
      If UNLINK is not supported by the Redis server, we should
      fall back to DEL. UNLINK was introduced in Redis 4.
      474ed146
    • Robert May's avatar
      Swap to UNLINK for Redis set cache · 568905a0
      Robert May authored and Stan Hu's avatar Stan Hu committed
      This uses UNLINK in Redis 4 to delete sets. This unlinks the key
      from the value but actually deletes the value asynchronously.
      With large sets this should give us a reasonable performance boost.
      
      This commit also implements multi-key deletes for RepositorySetCache
      methods in the Repository model, meaning only one UNLINK call will be
      issued for all sets being expired.
      568905a0
  21. Feb 24, 2020
Loading