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

Catch possible database exceptions when fetching document data #1202

Merged
merged 4 commits into from
Dec 3, 2020

Conversation

juliusknorr
Copy link
Member

Fixes an issue where an already cleaned up document in the database caused an uncatched exception (most likely due to the session being still valid in the cache but the document got cleaned up already.

A case where this could happen is the third commit where when a document was reset due to conflict resultion the sessions were not cleaned up immediately.

@juliusknorr juliusknorr added bug Something isn't working 3. to review labels Nov 25, 2020
@juliusknorr juliusknorr added this to the Nextcloud 21 milestone Nov 25, 2020
Signed-off-by: Julius Härtl <jus@bitgrid.net>
… reconnect manually

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr
Copy link
Member Author

/backport to stable20

@juliusknorr
Copy link
Member Author

/backport to stable19

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

Looks good but didn't test

@juliusknorr juliusknorr merged commit 825fe1d into master Dec 3, 2020
@juliusknorr juliusknorr deleted the bugfix/noid/error-handling branch December 3, 2020 09:01
@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable19 failed. Please do this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants