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

Cancel hydration #6936

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Cancel hydration #6936

wants to merge 6 commits into from

Conversation

camilasan
Copy link
Member

@camilasan camilasan commented Jul 22, 2024

#6914

It is hard to reproduce but this is more or less the steps:

  • free up space in folder
  • the client will make the files virtual again (0 byte)
  • this action triggers the sync engine
  • VFS and sync engine are then both running when it shouldn't

https://learn.microsoft.com/en-us/windows/win32/fileio/opportunistic-locks
https://learn.microsoft.com/en-us/windows/win32/api/cfapi/nf-cfapi-cfupdateplaceholder
https://learn.microsoft.com/en-us/windows/win32/api/cfapi/nf-cfapi-cfopenfilewithoplock

@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-6936-8915cca965caba4b8da2ec215e781dbfef73be44-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

Copy link

sonarcloud bot commented Jul 27, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
32.8% Coverage on New Code (required ≥ 80%)
C Maintainability Rating on New Code (required ≥ A)
106 New Code Smells (required ≤ 0)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants