Skip to content

Conversation

@ArtificialOwl
Copy link
Member

@ArtificialOwl ArtificialOwl commented Jan 9, 2024

fix #42489

In the previous version of the job, If the generation of metadata for a single user would takes more than an hour, the same user would be scanned over and every days.

This should fix it and switch to next user when re-running the cronjob the next night

There is also a check to not generate metadata if already exist

@ArtificialOwl
Copy link
Member Author

/backport to stable28

@ArtificialOwl ArtificialOwl force-pushed the fix/42489/fix-cycle-on-same-user branch from 9bbf4a5 to f13e2b4 Compare January 10, 2024 09:58
@ArtificialOwl ArtificialOwl added the 3. to review Waiting for reviews label Jan 10, 2024
@ArtificialOwl ArtificialOwl added this to the Nextcloud 28.0.2 milestone Jan 10, 2024
@ArtificialOwl
Copy link
Member Author

/rebase

Signed-off-by: Maxence Lange <[email protected]>
@nextcloud-command nextcloud-command force-pushed the fix/42489/fix-cycle-on-same-user branch from f13e2b4 to c26110c Compare January 11, 2024 15:46
@ArtificialOwl ArtificialOwl merged commit 2d0991e into master Jan 11, 2024
@ArtificialOwl ArtificialOwl deleted the fix/42489/fix-cycle-on-same-user branch January 11, 2024 18:52
@blizzz blizzz mentioned this pull request Mar 5, 2024
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 bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: S3 excessive egress traffic caused by background GenerateMetadataJob

5 participants