Skip to content

[stable26] redis: use atomic operations everywhere - #38539

Merged
juliusknorr merged 3 commits into
stable26from
backport/37758/stable26
Jun 1, 2023
Merged

[stable26] redis: use atomic operations everywhere#38539
juliusknorr merged 3 commits into
stable26from
backport/37758/stable26

Conversation

@backportbot-nextcloud

@backportbot-nextcloudbackportbot-nextcloudBot commented May 31, 2023

Copy link
Copy Markdown
  • ⚠️ This backport had conflicts that were resolved with the 'ours' merge strategy and is likely incomplete

backport of #37758

pulsejetand others added 2 commits May 31, 2023 07:13
This removes a lot of acrobatics in the code and does each operation
atomically using a lua script. This also reduces several round trips
to the server, and the scripts are compiled and cached server-side.
Notably, since all operations work only on a single key (except clear,
which is broken anyway and shouldn't be used), they will continue to
function and be atomic for Redis cluster.
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@backportbot-nextcloudbackportbot-nextcloudBot added feature: caching Related to our caching system: scssCacher, jsCombiner... performance 🚀 labels May 31, 2023
@backportbot-nextcloudbackportbot-nextcloudBot added this to the Nextcloud 26.0.3 milestone May 31, 2023
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
@ChristophWurst
ChristophWurstforce-pushed the backport/37758/stable26 branch from fa53646 to 119e52fCompareMay 31, 2023 10:00
@ChristophWurst
ChristophWurst marked this pull request as ready for review May 31, 2023 10:04
@ChristophWurstChristophWurst added the 3. to review Waiting for reviews label May 31, 2023
@ChristophWurst

Copy link
Copy Markdown
Member

/backport to stable25

@juliusknorr

Copy link
Copy Markdown
Member

Failures all look unrelated.

@juliusknorr
juliusknorr merged commit 5b02df2 into stable26Jun 1, 2023
@juliusknorr
juliusknorr deleted the backport/37758/stable26 branch June 1, 2023 08:18
@blizzzblizzz mentioned this pull request Jun 12, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsfeature: cachingRelated to our caching system: scssCacher, jsCombiner...performance 🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@ChristophWurst@juliusknorr@skjnldsv@pulsejet@icewind1991