Skip to content

Conversation

@ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Feb 28, 2025

  • Resolves: n/a

Summary

The SAB is created on demand. Weirdly enough this only happens for the second user of an instance, and in high concurrent setups there can be a race for the creation of the AB.
This moves the creation to an install repair step that is run once at installation time.

This change was tested with nextcloud/mail#10707. Recently Mail integration tests failed when the SAB didn't exist and tests created it while being in a transaction.

TODO

  • do

Checklist

@ChristophWurst
Copy link
Member Author

/backport to stable31

@ChristophWurst
Copy link
Member Author

/backport to stable30

@ChristophWurst
Copy link
Member Author

/backport to stable29

@susnux susnux added this to the Nextcloud 32 milestone Mar 2, 2025
Copy link
Collaborator

@kesselb kesselb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧪

@ChristophWurst ChristophWurst force-pushed the fix/dav/create-sab-install branch from 0dc9390 to 2528e70 Compare March 3, 2025 11:34
@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 3, 2025
@ChristophWurst ChristophWurst enabled auto-merge March 3, 2025 11:34
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@kesselb kesselb force-pushed the fix/dav/create-sab-install branch from 2528e70 to ec664b0 Compare March 6, 2025 17:40
@kesselb kesselb requested a review from a team as a code owner March 6, 2025 17:40
@kesselb kesselb requested review from icewind1991, provokateurin and yemkareems and removed request for a team March 6, 2025 17:40
@ChristophWurst ChristophWurst removed the request for review from icewind1991 March 6, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: carddav Related to CardDAV internals feature: dav

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

7 participants