You need to sign in or sign up before continuing.
- Feb 20, 2024
-
-
Sylvester Chin authored
This reverts commit a7f569b2.
-
- Feb 14, 2024
-
-
Sylvester Chin authored
This reverts merge request !144224
- Feb 08, 2024
-
-
Sylvester Chin authored
This reverts merge request !141213
-
Sylvester Chin authored
Changelog: other
-
- Jun 09, 2023
-
-
Sylvester Chin authored
This MR removes the use of the feature flag for benchmarking Redis pipelines in GitLab Rails. Changelog: other MR: !118884
-
- Jun 08, 2023
-
-
This MR adds Gitlab::Redis::CrossSlot module to wrap over .pipelined calls for relevant call-sites. Changelog: performance
-
- May 18, 2023
-
-
Sylvester Chin authored
-
- May 04, 2023
-
-
This is to benchmark the effects of decomposing multi-key commands into pipelines to ensure Redis Cluster compatibility.
-
- Nov 11, 2022
-
-
Heinrich Lee Yu authored
In redis-rb 5.0, these will now always return an integer instead of returning a boolean or integer depending on the argument passed in.
-
- Sep 23, 2022
-
-
Heinrich Lee Yu authored
This allows us to set Redis.exists_returns_integer to true which is the new default in redis-rb 4.3 and above
-
- Aug 23, 2022
-
-
Merge branch 'security-360372-zentao-IDOR-take-2' into 'master' See merge request gitlab-org/security/gitlab!2593 Changelog: security
-
- Aug 19, 2022
-
-
Stan Hu authored
This addresses the deprecation issues introduced via https://github.com/redis/redis-rb/pull/1059 and https://github.com/redis/redis-rb/pull/1061. Changelog: fixed
-
- Jul 26, 2021
-
-
Sean Arnold authored
-
- Jun 24, 2021
-
-
Sean Arnold authored
- Keep expiry in old format too
-
- May 25, 2021
-
-
Sean Arnold authored
-
- Mar 26, 2021
-
-
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".
-
- Aug 03, 2020
-
-
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.
-
- Jun 24, 2020
-
-
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.
-
- Apr 07, 2020
-
-
Robert May authored
-
- Mar 18, 2020
-
-
Prevents attempts to call Redis `del` with no arguments.
-
- Mar 16, 2020
-
-
-
If UNLINK is not supported by the Redis server, we should fall back to DEL. UNLINK was introduced in Redis 4.
-
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.
-
- Feb 24, 2020
-
-
Rename file too
-