Skip to content

[stable34] fix/no conflicts on sync - #9158

Merged
mejo- merged 3 commits into
stable34from
backport/9157/stable34
Sep 2, 2026
Merged

[stable34] fix/no conflicts on sync#9158
mejo- merged 3 commits into
stable34from
backport/9157/stable34

Conversation

@backportbot

@backportbot backportbot Bot commented Sep 2, 2026

Copy link
Copy Markdown

Backport of #9157

Warning, This backport's changes differ from the original and might be incomplete 鈿狅笍

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot
backportbot Bot requested a review from max-nextcloud September 2, 2026 06:52
@backportbot backportbot Bot added this to the Nextcloud 34.0.4 milestone Sep 2, 2026
@mejo- mejo- changed the title [stable34] [stable35] fix/no conflicts on sync [stable34] fix/no conflicts on sync Sep 2, 2026
The document may be in the middle of getting saved.

When the file has been updated
but the metadata in the documents table has not
it may seem like the file was overwritten
even though text is saving the file.

This does not indicate an actual conflict.
Avoid triggering the conflict screen in that race condition.

Signed-off-by: Max <max@nextcloud.com>
We observed save requests that took longer than 30 seconds.
The lock needs to outlive those in order to prevent superfluous 409 responses.

Signed-off-by: Max <max@nextcloud.com>
@mejo-
mejo- force-pushed the backport/9157/stable34 branch from 439a73c to 49fd55a Compare September 2, 2026 06:59
@mejo-
mejo- marked this pull request as ready for review September 2, 2026 07:01
Abort autosave if another save is still under way.
We observed save requests taking up to 30 seconds.
In this timespan autosave requests would still be processed
as the lastSavedTime in the database has not been updated yet.

Signed-off-by: Max <max@nextcloud.com>
@mejo-
mejo- force-pushed the backport/9157/stable34 branch from 49fd55a to 97e9949 Compare September 2, 2026 07:03
@mejo-
mejo- merged commit 1f6a1b0 into stable34 Sep 2, 2026
70 checks passed
@mejo-
mejo- deleted the backport/9157/stable34 branch September 2, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants