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

fix(carddav): Handle race for SAB creation better #42052

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Dec 6, 2023

Summary

  • Accept non repeatable read and INSERT conflict by another read
  • Handle replication edge case

This means the code is able to handle concurrency when writing, but is (still/again) vulnerable to read/write split timing problems.

Checklist

@ChristophWurst ChristophWurst added the 2. developing Work in progress label Dec 6, 2023
@ChristophWurst ChristophWurst self-assigned this Dec 6, 2023
@susnux susnux added this to the Nextcloud 30 milestone Apr 18, 2024
@skjnldsv skjnldsv removed this from the Nextcloud 30 milestone Aug 14, 2024
@ChristophWurst ChristophWurst marked this pull request as ready for review September 17, 2024 21:58
@ChristophWurst ChristophWurst added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Sep 17, 2024
@tcitworld
Copy link
Member

Needs a rebase

@ChristophWurst ChristophWurst force-pushed the fix/carddav/create-sab-concurrently branch from a076356 to 9ba2828 Compare September 18, 2024 07:57
* Accept non repeatable read and INSERT conflict by another read
* Handle replication edge case

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst force-pushed the fix/carddav/create-sab-concurrently branch from 9ba2828 to 0e1d12b Compare September 18, 2024 08:08
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System address book creation errors on concurrent user creation
5 participants