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

add wrapper for external storage to ensure we don't get an mtime that is lower than we know it is #40499

Merged
merged 2 commits into from Sep 21, 2023

Conversation

icewind1991
Copy link
Member

Some storage servers will return the old mtime right after writes, causing Nextcloud to detect external changes when the correct mtime is return the next time around.

This adds some logic to not return mtimes lower than when we last touch the files ourselves to prevent these issues.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Sep 19, 2023
@icewind1991 icewind1991 added this to the Nextcloud 28 milestone Sep 19, 2023
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, Fenn-CS and sorbaugh and removed request for a team September 19, 2023 10:46
…w it is

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991
Copy link
Member Author

/backport to stable27

@icewind1991
Copy link
Member Author

/backport to stable26

@icewind1991
Copy link
Member Author

/backport to stable25

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

Successfully merging this pull request may close these issues.

None yet

4 participants