Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable26] redis: use atomic operations everywhere #38539

Merged
merged 3 commits into from
Jun 1, 2023

Conversation

backportbot-nextcloud[bot]
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented May 31, 2023

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

backport of #37758

pulsejet and 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-nextcloud backportbot-nextcloud bot added feature: caching Related to our caching system: scssCacher, jsCombiner... performance 🚀 labels May 31, 2023
@backportbot-nextcloud backportbot-nextcloud bot added this to the Nextcloud 26.0.3 milestone May 31, 2023
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
@ChristophWurst ChristophWurst force-pushed the backport/37758/stable26 branch from fa53646 to 119e52f Compare May 31, 2023 10:00
@ChristophWurst ChristophWurst marked this pull request as ready for review May 31, 2023 10:04
@ChristophWurst ChristophWurst added the 3. to review Waiting for reviews label May 31, 2023
@ChristophWurst
Copy link
Member

/backport to stable25

@juliusknorr
Copy link
Member

Failures all look unrelated.

@juliusknorr juliusknorr merged commit 5b02df2 into stable26 Jun 1, 2023
@juliusknorr juliusknorr deleted the backport/37758/stable26 branch June 1, 2023 08:18
@blizzz blizzz mentioned this pull request Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews backport-request feature: caching Related to our caching system: scssCacher, jsCombiner... performance 🚀
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants