Skip to content

fix(db): delete steps in batches when clearing all documents - #9758

Open
mejo- wants to merge 1 commit into
mainfrom
fix/chunked-clear-all
Open

mejo- wants to merge 1 commit into
mainfrom
fix/chunked-clear-all

Conversation

@mejo-

@mejo- mejo- commented Dec 1, 2026

Copy link
Copy Markdown
Member

A single DELETE on a large text_steps table exceeds the Galera writeset size. The upgrade repair step then fails silently and old document states survive the editor schema change.

Assisted-by: ClaudeCode:claude-opus-5-5

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI tools
  • The AI-generated content was reviewed, comprehended and tested by a human

@mejo- mejo- self-assigned this Dec 1, 2026
@mejo- mejo- added bug Something isn't working 3. to review labels Dec 1, 2026
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity team Dec 1, 2026
@mejo- mejo- moved this from 🧭 Planning evaluation (don't pick) to 👀 In review in 📝 Productivity team Dec 1, 2026
@nextcloud-command nextcloud-command added the AI assisted This PR contains AI-assisted commits label Dec 1, 2026
A single DELETE on a large text_steps table exceeds the Galera writeset
size. The upgrade repair step then fails silently and old document states
survive the editor schema change.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Jonas <jonas@freesources.org>
@mejo-
mejo- force-pushed the fix/chunked-clear-all branch from 8374614 to 138e0c0 Compare December 1, 2026 16:02
@mejo-

mejo- commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

/backport to stable35

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review AI assisted This PR contains AI-assisted commits backport-request bug Something isn't working

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

2 participants