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

[stable28] feat(database): Primary/replica split #43261

Closed

Conversation

@ChristophWurst
Copy link
Member Author

Tested on a small production instance and this works. The caveat is that it catches lots of queries and logs them as dirty. Most of that happens during cron.php execution because the joblist continuously does a SELECT * FROM oc_jobs … LIMIT 1 mixed with lots of UPDATE oc_jobs … so it looks like there could be dirty reads. Whether there could be any is subject of a research task.

We can assume that after a few seconds a read will be clean again.
This is helpful for false warnings in long running processes.

Signed-off-by: Christoph Wurst <[email protected]>
@blizzz blizzz added this to the Nextcloud 28.0.12 milestone Oct 10, 2024
@blizzz
Copy link
Member

blizzz commented Dec 5, 2024

@ChristophWurst keep or close?

@blizzz blizzz removed this from the Nextcloud 28.0.13 milestone Dec 5, 2024
@ChristophWurst
Copy link
Member Author

This can be closed

@ChristophWurst ChristophWurst deleted the feat/database/primary-replica-split-stable28 branch December 5, 2024 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants