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

[Bug]: Deadlock when Deleting shared files inside shared folder #36328

Closed
7 of 9 tasks
solracsf opened this issue Jan 24, 2023 · 3 comments
Closed
7 of 9 tasks

[Bug]: Deadlock when Deleting shared files inside shared folder #36328

solracsf opened this issue Jan 24, 2023 · 3 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@solracsf
Copy link
Member

solracsf commented Jan 24, 2023

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

When user B deletes files inside a shared folder shared by User A with multiple users (not only User B), Deadlocks are trown.

Steps to reproduce

While Redis is used for Locking, and MariaDB has READ-COMMITTED set:

  1. Delete several files/folders inside folders shared with multiple (>10 users)

Expected behavior

No Deadlocks

Installation method

Community Manual installation with Archive

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

Enabled:
  - accessibility: 1.10.0
  - activity: 2.16.0
  - cloud_federation_api: 1.7.0
  - comments: 1.14.0
  - contactsinteraction: 1.5.0
  - dav: 1.22.0
  - federatedfilesharing: 1.14.0
  - federation: 1.14.0
  - files: 1.19.0
  - files_pdfviewer: 2.5.0
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - forms: 2.5.1
  - impersonate: 1.11.0
  - keeweb: 0.6.10
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - notifications: 2.12.1
  - notify_push: 0.5.0
  - oauth2: 1.12.0
  - onlyoffice: 7.5.8
  - password_policy: 1.14.0
  - provisioning_api: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - socialsharing_email: 2.5.0
  - systemtags: 1.14.0
  - theming: 1.15.0
  - twofactor_backupcodes: 1.13.0
  - user_saml: 5.1.2
  - viewer: 1.8.0
  - workflowengine: 2.6.0
@solracsf solracsf added bug 0. Needs triage Pending check for reproducibility or if it fits our roadmap 24-feedback labels Jan 24, 2023
@obel1x
Copy link

obel1x commented Feb 16, 2023

two things: the first is a problematic recalculation done each filechange by nextcloud. currently there is no solution.

@solracsf
second thing: maybe you want to try #6899 (comment) to see if this would reduce deadlocks for you too?

@solracsf
Copy link
Member Author

Marked as fixed as per #37820

@obel1x
Copy link

obel1x commented May 2, 2023

just left a comment to this here to explain why this happes imo: #29985 (comment)
currently not fixed, but maybe will with it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

2 participants