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: data loss when shutting down while using typer #8554

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

Rash419
Copy link
Contributor

@Rash419 Rash419 commented Mar 18, 2024

  • Docbroker only uploads the document when the document is already saved and there are no further modifications.
  • But when using typer once dockerbroker saves the document and tries to upload there are already new changes to the document. Therefore, docbroker keeps on saving this new changes and keeps on skiping the upload as there are new changes to the document; until it times out

Change-Id: I427d37a6228299006530daddebdf4365af63588b

  • Resolves: #
  • Target version: master

Checklist

  • Code is properly formatted
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

@Rash419 Rash419 requested a review from Ashod March 18, 2024 07:31
@Rash419 Rash419 changed the title fix: data loss when shutting down using typer fix: data loss when shutting down while using typer Mar 18, 2024
Copy link
Contributor

@mmeeks mmeeks left a comment

Choose a reason for hiding this comment

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

Looks like a really good fix; lets get it into 23.05 too =)

Thanks !

@Rash419
Copy link
Contributor Author

Rash419 commented Mar 18, 2024

Backport to co-23.05 branch: #8558

- Docbroker only uploads the document when the document is already saved and
  there are no further modifications.
- But when using typer once dockerbroker saves the document and tries to upload
  there are already new changes to the document. Therefore, docbroker keeps on
  saving this new changes and keeps on skiping the upload as there are new
  changes to the document; until it times out

Signed-off-by: Rashesh Padia <rashesh.padia@collabora.com>
Change-Id: I427d37a6228299006530daddebdf4365af63588b
@Rash419 Rash419 enabled auto-merge (rebase) March 19, 2024 14:08
@Rash419 Rash419 merged commit 464358c into CollaboraOnline:master Mar 19, 2024
7 of 9 checks passed
@Rash419 Rash419 deleted the fix-data-loss-on-shutdown branch March 19, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants